Skip to content

Commit

Permalink
fix: fixes version and gh deploy action (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
eckelsjd committed Nov 5, 2024
1 parent fe0e8cd commit 36a3512
Show file tree
Hide file tree
Showing 5 changed files with 672 additions and 558 deletions.
2 changes: 1 addition & 1 deletion .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Changes here will be overwritten by Copier (DO NOT EDIT MANUALLY)
_commit: v0.4.0-1-gc3d9eff
_commit: v0.5.0
_src_path: gh:eckelsjd/copier-numpy
author_email: [email protected]
author_name: Joshua Eckels
Expand Down
18 changes: 8 additions & 10 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,6 @@ jobs:
contents: write
id-token: write
steps:
- uses: actions/download-artifact@v4
with:
name: python-package-distributions
path: dist/
- uses: actions/checkout@v4
with:
fetch-depth: 0
Expand All @@ -57,10 +53,12 @@ jobs:
- run: pdm sync -G dev --no-default
- name: Create release notes
run: pdm run cz changelog $(pdm run cz version --project) --dry-run > body.md
- uses: softprops/action-gh-release@v2
- uses: actions/download-artifact@v4
with:
name: python-package-distributions
path: dist/
- uses: ncipollo/release-action@v1
with:
body_path: body.md
tag_name: ${{ github.ref_name }}
files: dist/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
bodyFile: body.md
name: ${{ github.ref_name }}
artifacts: ${{ github.workspace }}/dist/*
Loading

0 comments on commit 36a3512

Please sign in to comment.