bruh
All checks were successful
Build / release (push) Successful in 1m3s

Signed-off-by: spv <spv0x04@proton.me>
This commit is contained in:
spv 2024-07-26 13:37:25 +02:00
parent 8e5cd6e1bf
commit 8cddfe0bd7
No known key found for this signature in database
GPG Key ID: A527CD7A0F9353D8
4 changed files with 18 additions and 6 deletions

View File

@ -18,7 +18,7 @@ jobs:
- name: Hash Release
id: get-hash
run: |
echo "TAG_NAME=$(sha256sum ./target/release/rsa_implementation | head -c 64)" >> $GITHUB_OUTPUT
echo "TAG_NAME=$(cat VERSION.txt)" >> $GITHUB_OUTPUT
- name: Publish
uses: akkuman/gitea-release-action@v1
env:
@ -27,6 +27,5 @@ jobs:
sha256sum: true
body_path: ./CHANGES.md
tag_name: '${{steps.get-hash.outputs.TAG_NAME}}'
name: '${{hashFiles(./target/release/rsa_implementation)}}'
files: |-
./target/release/rsa_implementation
./target/release/rsa

2
Cargo.lock generated
View File

@ -711,7 +711,7 @@ dependencies = [
]
[[package]]
name = "rsa_implementation"
name = "rsa"
version = "0.1.0"
dependencies = [
"anyhow",

View File

@ -1,5 +1,5 @@
[package]
name = "rsa_implementation"
name = "rsa"
version = "0.1.0"
edition = "2021"
@ -14,4 +14,16 @@ fern = { version = "0.6.2", features = ["chrono", "colored"] }
humantime = "2.1.0"
log = "0.4.21"
num-bigint-dig = { version = "0.8.4", features = ["rand", "prime"] }
rand = "0.8.5"
rand = "0.8.5"
[profile.release]
split-debuginfo = "packed"
strip = "symbols"
lto = "fat"
panic = "abort"
codegen-units = 1
opt-level = 3
debug = false
debug-assertions = false
overflow-checks = false
incremental = false

1
VERSION.txt Normal file
View File

@ -0,0 +1 @@
1.0