Skip to content

Commit

Permalink
Use tag name only instead of fully qualified ref (#300)
Browse files Browse the repository at this point in the history
* fix: use tag name only instead of fully qualified ref

* remove extra tag from zip archive filename

* release v0.7.10

---------

Co-authored-by: Bartosz Różański <[email protected]>
  • Loading branch information
brusherru and poszu authored Jul 10, 2024
1 parent 35aa26a commit cc597f6
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 18 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ jobs:
- name: Version suffix (for release only)
id: version
run: echo "suffix=${{ github.ref_type == 'tag' && '-' || ''}}${{ github.ref_type == 'tag' && github.ref || ''}}" >> $GITHUB_OUTPUT
run: echo "suffix=${{ github.ref_type == 'tag' && '-' || ''}}${{ github.ref_type == 'tag' && github.ref_name || ''}}" >> $GITHUB_OUTPUT
- name: Build clib
run: cargo build -p post-cbindings --profile release-clib
env:
Expand Down Expand Up @@ -259,10 +259,8 @@ jobs:
run: >
mkdir ./assets;
for dir in ./artifacts/*/; do
zip -o -j -r "./assets/$(basename "$dir")-$TAG.zip" "$dir";
zip -o -j -r "./assets/$(basename "$dir").zip" "$dir";
done
env:
TAG: ${{ github.ref_name }}
- name: Upload Release Assets
run: gh release upload $TAG ./assets/*.zip
env:
Expand Down
14 changes: 7 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ members = [

[package]
name = "post-rs"
version = "0.7.9"
version = "0.7.10"
edition = "2021"

[lib]
Expand Down
2 changes: 1 addition & 1 deletion certifier/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "certifier"
version = "0.7.9"
version = "0.7.10"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion ffi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "post-cbindings"
version = "0.7.9"
version = "0.7.10"
edition = "2021"


Expand Down
2 changes: 1 addition & 1 deletion initializer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "initializer"
version = "0.7.9"
version = "0.7.10"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion profiler/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "profiler"
version = "0.7.9"
version = "0.7.10"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion scrypt-ocl/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "scrypt-ocl"
version = "0.7.9"
version = "0.7.10"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion service/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "service"
version = "0.7.9"
version = "0.7.10"
edition = "2021"

[[bin]]
Expand Down

0 comments on commit cc597f6

Please sign in to comment.