Skip to content

Commit

Permalink
take version from tag and write it to the appinfo
Browse files Browse the repository at this point in the history
  • Loading branch information
ata-no-one committed May 22, 2024
1 parent 043d94e commit 6629edc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ jobs:
- name: Build
run: make build

- name: replace version
if: startsWith(github.ref, 'refs/tags/')
run: |
RELEASE_VERSION=${GITHUB_REF#refs/tags/}
sed -i "s/version = '0\.0\.0'/version = '$RELEASE_VERSION'/g" ./appinfo/info.xml
- name: Create artifact
run: make appstore

Expand Down
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@ js/*hot-update.*
# the fuelphp document
/docs/

# Github specific files
.github/

# you may install these packages with `oil package`.
# http://fuelphp.com/docs/packages/oil/package.html
# /fuel/packages/auth/
Expand Down

0 comments on commit 6629edc

Please sign in to comment.