-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: release pipeline * fix: upgrade to 3.1.2
- Loading branch information
Showing
4 changed files
with
7 additions
and
51 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 |
---|---|---|
|
@@ -67,7 +67,9 @@ jobs: | |
# Copy the file | ||
cp tmp/wheel/*.dist-info/METADATA tmp/sdist/*/PKG-INFO | ||
# Tar the sdist again | ||
tar -czf dist/$(ls dist | grep .tar.gz) -C tmp/sdist/ . | ||
cd tmp/sdist/* | ||
tar -czf ../../../dist/$(basename ../../../dist/*.tar.gz) * | ||
cd ../../.. | ||
# Remove the temporary directories | ||
rm -rf tmp | ||
|
@@ -130,51 +132,4 @@ jobs: | |
- uses: sigstore/[email protected] | ||
with: | ||
inputs: release/* | ||
|
||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: signed-build | ||
path: release/*.whl | ||
|
||
- name: Upload release assets | ||
uses: svenstaro/upload-release-action@v2 | ||
with: | ||
file: "./release/*" | ||
file_glob: true | ||
overwrite: true | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
tag: ${{ github.event.release.tag_name }} | ||
|
||
- uses: robinraju/[email protected] | ||
name: Download tarball | ||
with: | ||
tag: ${{ github.event.release.tag_name }} | ||
tarBall: true | ||
zipBall: true | ||
fileName: '*' | ||
out-file-path: external-release | ||
preRelease: ${{ github.event.release.prerelease }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
repository: ${{ github.repository }} | ||
|
||
- name: List directory | ||
run: | | ||
ls -lha external-release | ||
# Remove all the files in external-release that are also present in release | ||
for file in $(ls release); do | ||
rm -f external-release/$file | ||
done | ||
- uses: sigstore/[email protected] | ||
with: | ||
inputs: external-release/* | ||
|
||
- name: Upload signed source code | ||
uses: ncipollo/release-action@v1 | ||
with: | ||
artifacts: "./external-release/*" | ||
artifactErrorsFailBuild: true | ||
allowUpdates: true | ||
tag: ${{ github.event.release.tag_name }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
release-signing-artifacts: true |
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
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
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "pantos-client-library" | ||
version = "3.1.1" | ||
version = "3.1.2" | ||
description = "Client library for engaging with the Pantos system" | ||
authors = ["Pantos GmbH <[email protected]>"] | ||
license = "GPL-3.0-only" | ||
|