File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535 sed -i "s/^version = .*/version = \"$VERSION\"/" pyproject.toml
3636 cat pyproject.toml | grep version
3737
38- - name : Commit version bump
39- run : |
40- git config user.name "github-actions[bot]"
41- git config user.email "github-actions[bot]@users.noreply.github.com"
42- git add pyproject.toml
43- git commit -m "chore: bump version to ${{ steps.get_version.outputs.version }}" || echo "No changes to commit"
44-
45- - name : Push changes
46- uses : ad-m/github-push-action@master
47- with :
48- github_token : ${{ secrets.GITHUB_TOKEN }}
49- branch : main
50- tags : false
51-
5238 - name : Install build dependencies
5339 run : |
5440 python -m pip install --upgrade pip
6854 git add pyproject.toml
6955 git commit -m "chore: bump version to ${{ steps.get_version.outputs.version }}" || echo "No changes to commit"
7056 git push origin HEAD:main || echo "Nothing to push"
57+
58+ - name : Create GitHub Release
59+ uses : softprops/action-gh-release@v1
60+ with :
61+ files : dist/*
62+ generate_release_notes : true
63+ env :
64+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments