Template
Merge in the Release-Plz Setup #6
@@ -51,8 +51,11 @@ jobs:
|
||||
|
||||
|
||||
- name: Run release-plz release
|
||||
env:
|
||||
GIT_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||
CARGO_TOKEN: "Bearer ${{ secrets.CARGO_REGISTRIES_GITEA_TOKEN }}"
|
||||
run: |
|
||||
release-plz release --forge gitea --git-token ${{ secrets.GITEA_TOKEN }} --registry gitea --token "Bearer ${{ secrets.CARGO_REGISTRIES_GITEA_TOKEN }}"
|
||||
release-plz release --forge gitea --git-token $GIT_TOKEN --registry gitea --token CARGO_TOKEN
|
||||
|
||||
# Create a PR with the new versions and changelog, preparing the next releases
|
||||
release-plz-pr:
|
||||
|
||||
Generated
+4
-1
@@ -5,7 +5,10 @@ version = 4
|
||||
[[package]]
|
||||
name = "example_bin"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"example_lib",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "example_lib"
|
||||
version = "0.1.0"
|
||||
version = "0.1.1"
|
||||
|
||||
@@ -4,3 +4,4 @@ version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
example_lib = { path = "../example_lib" }
|
||||
|
||||
@@ -1,3 +1,11 @@
|
||||
use example_lib::*;
|
||||
|
||||
fn main() {
|
||||
println!("Hello, world!");
|
||||
|
||||
let result = add(1, 1);
|
||||
assert_eq!(result, 2);
|
||||
|
||||
let result = sub(1, 1);
|
||||
assert_eq!(result, 0);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
# Changelog
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [0.1.1](https://gitea.melfely.com/melfely/rust_workflow_template/compare/example_lib-v0.1.0...example_lib-v0.1.1) - 2026-09-11
|
||||
|
||||
### Added
|
||||
|
||||
- added pub fn sub()
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "example_lib"
|
||||
version = "0.1.0"
|
||||
version = "0.1.1"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
|
||||
Reference in New Issue
Block a user