-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c076f53
commit 8536b5d
Showing
1 changed file
with
13 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,8 +24,16 @@ jobs: | |
echo "building the project" | ||
python3 -m pygbag --build $GITHUB_WORKSPACE/main.py | ||
echo "DONE" | ||
- name: generating version | ||
run: | | ||
python3 -m pip install semversioner | ||
python3 -m semversioner add-change --type patch --description "Updating source code" | ||
python3 -m semversioner release | ||
- name: Generate release tag | ||
id: generate_release_tag | ||
uses: alexvingg/[email protected] | ||
with: | ||
github_token: ${{ secrets.GH_CREDENTIALS }} | ||
tag_prefix: "" | ||
- name: Create Release | ||
uses: actions/create-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GH_CREDENTIALS }} | ||
with: | ||
tag_name: ${{ steps.generate_release_tag.outputs.release_tag }} | ||
release_name: Release ${{ steps.generate_release_tag.outputs.release_tag }} |