Skip to content

Commit

Permalink
[Release] v0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mistricky committed Nov 22, 2024
1 parent 8c853f7 commit 0ea9672
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 22 deletions.
32 changes: 15 additions & 17 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,17 @@ jobs:
command: login
args: ${{ secrets.CRATES_TOKEN }}

- name: Publish library to crates.io
uses: actions-rs/cargo@v1
with:
command: publish
args: --manifest-path core/Cargo.toml

- name: Publish cli to crates.io
uses: actions-rs/cargo@v1
with:
command: publish
args: --manifest-path cli/Cargo.toml
# - name: Publish library to crates.io
# uses: actions-rs/cargo@v1
# with:
# command: publish
# args: --manifest-path core/Cargo.toml

# - name: Publish cli to crates.io
# uses: actions-rs/cargo@v1
# with:
# command: publish
# args: --manifest-path cli/Cargo.toml

- name: Bump version and push tag
id: tag_version
Expand All @@ -63,8 +63,7 @@ jobs:
"labels": []
}
],
"pr_template": "- #{{TITLE}} by #{{AUTHOR}} in #{{NUMBER}}",
"template": "#{{CHANGELOG}}\n\n**Full Changelog**: https://github.com/mistricky/CodeSnap/compare/#{{FROM_TAG}}...#{{TO_TAG}}"
"pr_template": "- #{{TITLE}} by #{{AUTHOR}} in #{{NUMBER}}"
}
- name: Create a GitHub release
Expand All @@ -75,16 +74,15 @@ jobs:
token: ${{ secrets.PAT }}
body: |
## 👋 Hi, there!
Thanks for using CodeSnap! The most beautiful code screenshots tool.
Thanks for using CodeSnap! The most beautiful code screenshots tool, there is two ways to use CodeSnap:
## 💻 Getting started
Treat CodeSnap as library in your project by Cargo:
1. Treat CodeSnap as library in your project by Cargo:
```bash
Cargo add CodeSnap
```
Use CodeSnap as CLI tool installed globally:
2. Use CodeSnap as CLI tool installed globally:
**Cargo**
```bash
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "codesnap-cli"
version = "0.4.4"
version = "0.5.0"
edition = "2021"
description = "CLI tools for generating beautiful code snapshots"
license = "MIT"
Expand All @@ -13,6 +13,6 @@ path = "src/main.rs"
ansi_term = "0.12.1"
anyhow = "1.0.91"
clap = { version = "4.5.20", features = ["derive"] }
codesnap = { path = "../core", version = "0.4.4" }
codesnap = { path = "../core", version = "0.5.0" }
home = "0.5.9"
serde_json = "1.0.132"
2 changes: 1 addition & 1 deletion core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "codesnap"
version = "0.4.4"
version = "0.5.0"
edition = "2021"
description = "Pure Rust library for generating beautiful code snapshots"
license = "MIT"
Expand Down

0 comments on commit 0ea9672

Please sign in to comment.