9 Commits
Author SHA1 Message Date
melfely 582c4a6905 fix: Add registry force in the dependencies of cargo section
Release-plz / Release-plz PR (push) Successful in 1m33s
Release-plz / Release-plz release (push) Successful in 1m35s
2026-09-11 10:56:22 -05:00
melfely 2a93781fd4 ci: added release-plz.toml file
Release-plz / Release-plz PR (push) Failing after 1m27s
Release-plz / Release-plz release (push) Failing after 1m33s
2026-09-11 10:41:18 -05:00
melfely 405804aac1 fix(bin): Added version for lib requirement
Release-plz / Release-plz PR (push) Successful in 1m24s
Release-plz / Release-plz release (push) Failing after 1m35s
2026-09-11 10:29:28 -05:00
melfely cba3620268 Merge pull request 'chore(example_bin): release v0.1.1' (#5) from release-plz-2026-09-11T14-51-37Z into melfely/release-plz
Release-plz / Release-plz PR (push) Successful in 1m18s
Release-plz / Release-plz release (push) Failing after 1m29s
Reviewed-on: #5
2026-09-11 15:21:38 +00:00
ci-bot 117b102407 chore(example_bin): release v0.1.1
Signed-off-by: ci-bot <bot@email.melfely.com>
2026-09-11 14:51:37 +00:00
melfely b62d25c6d5 ci: Revert previous. Fixed "secret." to "secrets." for git credentials
Release-plz / Release-plz release (push) Successful in 1m26s
Release-plz / Release-plz PR (push) Successful in 1m33s
2026-09-11 09:49:27 -05:00
melfely 65b043fe9c ci: Changed from direct secret sub to env variables
Release-plz / Release-plz release (push) Successful in 1m25s
Release-plz / Release-plz PR (push) Failing after 1m29s
2026-09-11 09:41:20 -05:00
melfely 4f96a3572d feat: bin example now references the local example_lib
Release-plz / Release-plz release (push) Successful in 1m31s
Release-plz / Release-plz PR (push) Failing after 1m32s
2026-09-10 21:16:57 -05:00
melfely 02f9bbd817 Merge pull request 'chore(example_lib): release v0.1.1' (#4) from release-plz-2026-09-11T01-35-29Z into melfely/release-plz
Release-plz / Release-plz PR (push) Successful in 2m25s
Release-plz / Release-plz release (push) Successful in 2m27s
Reviewed-on: #4
2026-09-11 02:09:52 +00:00
6 changed files with 30 additions and 5 deletions
+1 -2
View File
@@ -53,7 +53,6 @@ jobs:
- name: Run release-plz release - name: Run release-plz release
run: | 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 ${{ secrets.GITEA_TOKEN }} --registry gitea --token "Bearer ${{ secrets.CARGO_REGISTRIES_GITEA_TOKEN }}"
# Create a PR with the new versions and changelog, preparing the next releases # Create a PR with the new versions and changelog, preparing the next releases
release-plz-pr: release-plz-pr:
name: Release-plz PR name: Release-plz PR
@@ -77,7 +76,7 @@ jobs:
- name: Fill Credentials - name: Fill Credentials
run: | run: |
git config --global credential.helper store git config --global credential.helper store
echo "https://ci-bot:${{ secret.GITEA_TOKEN }}@gitea.melfely.com" > ~/.git-credentials echo "https://ci-bot:${{ secrets.GITEA_TOKEN }}@gitea.melfely.com" > ~/.git-credentials
- name: Run release-plz release-pr - name: Run release-plz release-pr
run: | run: |
Generated
+4 -1
View File
@@ -4,7 +4,10 @@ version = 4
[[package]] [[package]]
name = "example_bin" name = "example_bin"
version = "0.1.0" version = "0.1.1"
dependencies = [
"example_lib",
]
[[package]] [[package]]
name = "example_lib" name = "example_lib"
+14
View File
@@ -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_bin-v0.1.0...example_bin-v0.1.1) - 2026-09-11
### Added
- bin example now references the local example_lib
+2 -1
View File
@@ -1,6 +1,7 @@
[package] [package]
name = "example_bin" name = "example_bin"
version = "0.1.0" version = "0.1.1"
edition = "2024" edition = "2024"
[dependencies] [dependencies]
example_lib = { version = "0.1.1", path = "../example_lib", registry = "gitea" }
+8
View File
@@ -1,3 +1,11 @@
use example_lib::*;
fn main() { fn main() {
println!("Hello, world!"); println!("Hello, world!");
let result = add(1, 1);
assert_eq!(result, 2);
let result = sub(1, 1);
assert_eq!(result, 0);
} }
View File