Release 1.0.0-rc.1
This commit is contained in:
parent
aaea06dd98
commit
081af03362
|
|
@ -23,6 +23,8 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout source code
|
- name: Checkout source code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
- name: Get tags
|
||||||
|
run: git fetch --tags origin
|
||||||
- name: Configure build cache
|
- name: Configure build cache
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
|
|
@ -59,6 +61,8 @@ jobs:
|
||||||
- x86_64-apple-darwin
|
- x86_64-apple-darwin
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
- name: Get tags
|
||||||
|
run: git fetch --tags origin
|
||||||
- name: Configure build cache
|
- name: Configure build cache
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
2
build.rs
2
build.rs
|
|
@ -68,7 +68,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||||
.map(|last| format!("{}-dev", last.trim()))
|
.map(|last| format!("{}-dev", last.trim()))
|
||||||
}
|
}
|
||||||
// If there are no tags found, we'll just call this a pre-release.
|
// 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.
|
// Set a build-time `GIT_COMMIT_TIME` env var which includes the commit time.
|
||||||
let commit_time = Command::new("git")
|
let commit_time = Command::new("git")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue