Release 1.0.0-rc.1

This commit is contained in:
cloudhead 2024-03-26 16:54:47 +01:00
parent aaea06dd98
commit 081af03362
No known key found for this signature in database
2 changed files with 5 additions and 1 deletions

View File

@ -23,6 +23,8 @@ jobs:
steps:
- name: Checkout source code
uses: actions/checkout@v4
- name: Get tags
run: git fetch --tags origin
- name: Configure build cache
uses: actions/cache@v4
with:
@ -59,6 +61,8 @@ jobs:
- x86_64-apple-darwin
steps:
- uses: actions/checkout@v4
- name: Get tags
run: git fetch --tags origin
- name: Configure build cache
uses: actions/cache@v4
with:

View File

@ -68,7 +68,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
.map(|last| format!("{}-dev", last.trim()))
}
// If there are no tags found, we'll just call this a pre-release.
.unwrap_or(String::from("pre-release"));
.unwrap_or(String::from("1.0.0-rc.1"));
// Set a build-time `GIT_COMMIT_TIME` env var which includes the commit time.
let commit_time = Command::new("git")