Skip to content

Commit

Permalink
ci(github): set version in workflow build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
remarkablemark authored Sep 22, 2024
1 parent 69f7e2e commit 14649e1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ jobs:
with:
web: true

- name: Set version
run: sed -i -e 's/1.0.0-alpha/${{ github.sha }}/g' game/options.rpy

- name: Build web
run: |
renpy-launcher web_build . --destination web
cp web-presplash.jpg web/web-presplash.jpg
run: renpy-launcher web_build . --destination web

- name: Deploy
if: github.ref_name == 'master'
Expand Down

0 comments on commit 14649e1

Please sign in to comment.