-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cbb4fd3
commit 92e900b
Showing
4 changed files
with
44 additions
and
3 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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Publish by Tag | ||
|
||
permissions: | ||
contents: write | ||
|
||
on: | ||
push: | ||
tags: | ||
- v[0-9]+.* | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
create-release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: install cargo components | ||
run: rustup component add clippy | ||
- name: test | ||
run: .github/scripts/test.sh | ||
- name: login to crates.io | ||
run: cargo login ${{ secrets.CRATESIO }} | ||
- name: publish encrypt_config_derive | ||
run: .github/scripts/publish_test.sh encrypt_config_derive && .github/scripts/publish.sh encrypt_config_derive | ||
- name: publish encrypt_config | ||
run: .github/scripts/publish_test.sh encrypt_config && .github/scripts/publish.sh encrypt_config | ||
- uses: taiki-e/create-gh-release-action@v1 | ||
with: | ||
# (optional) Path to changelog. | ||
changelog: CHANGELOG.md | ||
# (required) GitHub token for creating GitHub Releases. | ||
token: ${{ secrets.GITHUB_TOKEN }} |
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ members = ["encrypt-config", "encrypt-config-derive", "tests", "examples"] | |
resolver = "2" | ||
|
||
[workspace.package] | ||
version = "0.3.4" | ||
version = "0.3.5" | ||
authors = ["Louis <[email protected]>"] | ||
description = "A Rust crate to manage, persist and encrypt your configurations." | ||
license = "MIT" | ||
|
@@ -13,8 +13,8 @@ documentation = "https://docs.rs/encrypt-config" | |
|
||
[workspace.dependencies] | ||
encrypt_config = { path = "encrypt-config", default-features = false } | ||
encrypt_config_derive = { path = "encrypt-config-derive", default-features = false, version = "0.3.4" } | ||
encrypt_config_derive = { path = "encrypt-config-derive", default-features = false, version = "0.3.5" } | ||
keyring = { version = "2.3", default-features = false } | ||
|
||
[profile.dev] | ||
[profile.dev.package.num-bigint-dig] | ||
opt-level = 3 |
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