From 081af03362b5bd3d637ee22011a4e5b51a1f1498 Mon Sep 17 00:00:00 2001 From: cloudhead Date: Tue, 26 Mar 2024 16:54:47 +0100 Subject: [PATCH] Release 1.0.0-rc.1 --- .github/workflows/release.yml | 4 ++++ build.rs | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 141e94972..94a24dff1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: diff --git a/build.rs b/build.rs index 620232c60..782c068f2 100644 --- a/build.rs +++ b/build.rs @@ -68,7 +68,7 @@ fn main() -> Result<(), Box> { .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")