aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeon Rinkel <[email protected]>2023-10-27 18:32:00 +0200
committerLeon Rinkel <[email protected]>2023-10-27 18:32:00 +0200
commitdb5b5fec215be47a737a343bb798f1c664ce52cd (patch)
tree09f851b0d96d1d20235870e3cdb618b598a114a9
parentbab9f10c79111414c37b7040f3d281347c360232 (diff)
Play with GitHub actionsv0.1.3
-rw-r--r--.github/workflows/build.yml11
-rw-r--r--app/VERSION2
2 files changed, 10 insertions, 3 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 4f47465..e6178c2 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -27,8 +27,15 @@ jobs:
run: |
west twister -T app -v --inline-logs --integration
- - name: Test
- run: ls > test.txt
+ - name: Prepare Release
+ if: startsWith(github.ref, 'refs/tags/')
+ run: |
+ mv lumen-sdk/twister-out/lumen/app.default/zephyr/merged.hex \
+ merged_${{ GITHUB_REF_NAME }}_${{ GITHUB_SHA }}.hex
+ mv lumen-sdk/twister-out/lumen/app.default/zephyr/app_update.bin \
+ app_update_${{ GITHUB_REF_NAME }}_${{ GITHUB_SHA }}.bin
+ ls -al > test.txt
+
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
diff --git a/app/VERSION b/app/VERSION
index cf2ceb6..e34bb26 100644
--- a/app/VERSION
+++ b/app/VERSION
@@ -1,5 +1,5 @@
VERSION_MAJOR = 0
VERSION_MINOR = 1
-PATCHLEVEL = 2
+PATCHLEVEL = 3
VERSION_TWEAK = 0
EXTRAVERSION =