Skip to content

Commit

Permalink
generating version using pip
Browse files Browse the repository at this point in the history
  • Loading branch information
kerodekroma committed Dec 11, 2023
1 parent 1b9adc2 commit 93d5230
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/build_pygame.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,17 @@ jobs:
python3 -m pip install pygbag
echo "pygbag success!"
echo "building the project"
python -m pygbag --build $GITHUB_WORKSPACE/main.py
python3 -m pygbag --build $GITHUB_WORKSPACE/main.py
echo "DONE"
- name: generating version
run: |
python3 -m pip install semversioner
RELEASE=$(python3 -m semversioner release)
echo "new", $RELEASE
'''
- name: create release
uses: ncipollo/[email protected]
with:
token: ${{ secrets.GH_CREDENTIALS }}
artifacts: ${{ steps.export.outputs.archive_directory }}/build/web
'''

0 comments on commit 93d5230

Please sign in to comment.