Skip to content

Commit

Permalink
ci(actions): improve release workflow (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCrab13 committed Oct 25, 2023
1 parent c2d12d9 commit a8f7d60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
name: Analyze input arguments
run: |
if [ "${{ secrets.RELEASE_TYPE }}" != "Auto"]; then
echo "force_arg=$(echo "$cmd_arg")" >> ${GITHUB_OUTPUT}
echo "force_arg=${{ secrets.RELEASE_TYPE }}" >> ${GITHUB_OUTPUT}
else
echo "force_arg=" >> ${GITHUB_OUTPUT}
fi
Expand Down Expand Up @@ -68,7 +68,6 @@ jobs:
needs: [release]
runs-on: windows-latest
concurrency: windows-build
environment: pypi.org
if: github.repository == 'crabisoft/pdbstore' && ${{ needs.release.outputs.released == 'true' }}
steps:
- uses: actions/checkout@v4.1.0
Expand All @@ -93,7 +92,6 @@ jobs:
needs: [release, windows-build]
runs-on: ubuntu-latest
concurrency: publish
environment: pypi.org
steps:
- uses: actions/checkout@v4.1.0
with:
Expand Down
2 changes: 1 addition & 1 deletion templates/CHANGELOG.md.j2
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
{% else %}
* {{ commit.commit.message.rstrip() }} ([`{{ commit.commit.hexsha[:7] }}`]({{ commit.commit.hexsha | commit_hash_url }}))
{% endif %}{% endfor %}{% endfor %}{% endif %}{% endfor %}
## v1.0.0 (2023-10-25)
## v0.0.1 (2023-10-25)

* Initial release

0 comments on commit a8f7d60

Please sign in to comment.