Skip to content

Commit

Permalink
chore(*): prepare release v0.5.0 (#30)
Browse files Browse the repository at this point in the history
Change to use `CARGO_REGISTRY_TOKEN` to replace `cargo login`.
  • Loading branch information
guangie88 authored Jan 10, 2023
1 parent d1d71d1 commit 1466e32
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ jobs:
rm -rf artifacts/
- name: Publish to crates.io
if: env.TAG_VERSION != 'v0.0.0'
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}
run: |
cargo login ${{ secrets.CRATES_IO_TOKEN }}
cargo publish
6 changes: 3 additions & 3 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
@@ -1,6 +1,6 @@
[package]
name = "tera-cli"
version = "0.4.1"
version = "0.5.0"
authors = ["Chen Weiguang <[email protected]>"]
description = "Tera CLI for one-off template interpolation from context file / env vars"
edition = "2018"
Expand Down

0 comments on commit 1466e32

Please sign in to comment.