Skip to content

Commit 35ef5eb

Browse files
committed
chore: create release script
1 parent 22209a7 commit 35ef5eb

3 files changed

Lines changed: 592 additions & 1 deletion

File tree

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "neomist"
3-
version = "0.6.0"
3+
version = "0.5.0"
44
edition = "2024"
55

66
[dependencies]

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,22 @@ Trigger Linux CI release builds from Cargo version:
144144
3. Workflow reads `Cargo.toml`, creates `v<version>` tag, and fails if that tag already exists
145145
4. Workflow explicitly dispatches `Linux Packages` against that new tag
146146

147+
## Release
148+
149+
Run interactive release helper:
150+
151+
```bash
152+
./release.sh
153+
```
154+
155+
- reads commits since latest `v*` tag and groups conventional commit subjects into release notes
156+
- suggests next semantic version, shows notes, and asks for confirmation
157+
- updates `Cargo.toml` and `Cargo.lock` when version changes are needed
158+
- creates `chore(release): v<version>` when version files change, tags `v<version>`, and pushes current branch plus tag to upstream remote
159+
- tag push triggers `Linux Packages`
160+
- on macOS, prompts for optional signed pkg build and notarization after push
161+
- use `./release.sh --dry-run` to preview without changing git state
162+
147163
Current Linux outputs:
148164

149165
- `dist/neomist-<version>-linux-x86_64.deb`

0 commit comments

Comments
 (0)