Skip to content

Commit

Permalink
update release action
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueGreenMagick committed Nov 25, 2024
1 parent 4c962fa commit cd5c705
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,12 @@ jobs:
- name: Run new_version.py
run: python new_version.py ${{ github.event.inputs.version }} ${{ env.ADDON_ROOT }}

- name: Commit changes to git
uses: EndBug/[email protected]
- name: Push new version with tag
uses: ad-m/[email protected]
with:
message: Bump version to v${{ github.event.inputs.version }}
github_token: ${{ github.token }}
branch: master
tags: ${{ github.event.inputs.version }}

- name: Bundle files into addon root
run: cp ${{ env.BUNDLE_FILES }} ${{ env.ADDON_ROOT }}
Expand All @@ -51,7 +53,7 @@ jobs:
cd "$base_path"
- name: Create github release and upload ankiaddon file
uses: svenstaro/upload-release-action@2.2.1
uses: svenstaro/upload-release-action@2.9.0
with:
repo_token: ${{ github.token }}
file: ${{ env.ADDON_FILE_NAME }}
Expand Down

0 comments on commit cd5c705

Please sign in to comment.