Skip to content

Commit

Permalink
Separate bump and push (#567)
Browse files Browse the repository at this point in the history
  • Loading branch information
athackst authored Aug 24, 2023
1 parent 7a2b32d commit e8cc7ad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/pr-labeler.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
feature: ['feature/*', 'feat/*', 'new/*']
bug: ['fix/*', 'bugfix/*', 'bug/*']
maintenance: ['chore/*', 'maint/*', 'noop/*', 'no-op/*', 'upkeep/*']
maintenance: ['chore/*', 'maint/*', 'noop/*', 'no-op/*', 'upkeep/*', 'dev/*']
docs: ['docs/*', 'doc/*']
6 changes: 4 additions & 2 deletions .github/workflows/release_draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,18 @@ jobs:
contents: write
runs-on: ubuntu-latest
needs: update_release_draft
env:
VERSION: ${{ needs.update_release_draft.outputs.tag_name }}
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.RELEASEBOT_TOKEN }}
- name: Bump setup.py
env:
VERSION: ${{ needs.update_release_draft.outputs.tag_name }}
run: |
echo "Bumping version to ${VERSION}"
echo "${VERSION}" > VERSION
- name: Commit and push
run: |
git config user.name github-actions
git config user.email github-actions@github.com
git add VERSION
Expand Down

0 comments on commit e8cc7ad

Please sign in to comment.