-
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.
fix the tagging for automatic release
- Loading branch information
1 parent
1f7108c
commit a674357
Showing
1 changed file
with
3 additions
and
0 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 |
---|---|---|
|
@@ -22,16 +22,19 @@ jobs: | |
- name: Build | ||
run: pdm build | ||
- name: Update git release tag | ||
id: tagger | ||
run: | | ||
git config --global user.name 'Auto' | ||
git config --global user.email '[email protected]' | ||
pdm bump tag && git push --tags | ||
echo "tag=$( pdm show --version )" >> "$GITHUB_OUTPUT" | ||
- name: Test and get reports | ||
run: pdm reports | ||
- uses: "marvinpinto/action-automatic-releases@latest" | ||
id: gh-release | ||
with: | ||
prerelease: false | ||
automatic_release_tag: ${{ steps.tagger.tag }} | ||
repo_token: "${{ secrets.GITHUB_TOKEN }}" | ||
files: | | ||
dist/* | ||
|