Skip to content

Commit

Permalink
workflow: use CI and random string version for CI Builds
Browse files Browse the repository at this point in the history
  • Loading branch information
sidex15 committed Feb 7, 2025
1 parent 9559a44 commit b7e61aa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ jobs:
run: |
cp -r ../dist-temp/* webroot/
- name: Update version with random CI string
run: |
RANDOM_STRING=$(tr -dc 'a-zA-Z0-9' < /dev/urandom | head -c 5)
sed -i "s/version=v1.5.2-R.*/version=v1.5.2-CI-${RANDOM_STRING}/" module.prop
- name: Upload release artifact
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit b7e61aa

Please sign in to comment.