Skip to content

Commit 3ea3668

Browse files
committed
add release CI
1 parent ec6a6be commit 3ea3668

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.drone.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,14 @@ steps:
2222
image: stargate01/smartcard-ci
2323
commands:
2424
- /app/src/scripts/test-all.sh
25+
- name: publish
26+
image: plugins/github-release
27+
settings:
28+
api_key:
29+
from_secret: github_api_key
30+
files: /app/src/bin/*
31+
when:
32+
branch:
33+
- master
34+
event:
35+
- tag

scripts/test/openjavacard-ndef.bats

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ teardown() {
3333
@test "NDEF read write" {
3434
cd /app/tools/pcsc-ndef
3535
PAYLOAD='fHwG61CGBRM3L6ZrpGpq'
36-
echo $PAYLOAD | python3 pcsc_ndef.py -r "Virtual PCD 00 00" -t 4 write >&3
36+
echo $PAYLOAD | python3 pcsc_ndef.py -r "Virtual PCD 00 00" -t 4 write
3737
RESP=`python3 pcsc_ndef.py -r "Virtual PCD 00 00" -t 4 read`
3838
[ "$RESP" == "$PAYLOAD" ]
3939
}

0 commit comments

Comments
 (0)