Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
ci: Fix release workflow
cloudhead committed 2 years ago
commit 345fa57b6429b31dedcf337c4b1ca21bd84ecdd5
parent 081af03362b5bd3d637ee22011a4e5b51a1f1498
2 files changed +3 -3
modified .github/workflows/release.yml
@@ -24,7 +24,7 @@ jobs:
      - name: Checkout source code
        uses: actions/checkout@v4
      - name: Get tags
-
        run: git fetch --tags origin
+
        run: git fetch --prune --unshallow --tags origin
      - name: Configure build cache
        uses: actions/cache@v4
        with:
@@ -62,7 +62,7 @@ jobs:
    steps:
      - uses: actions/checkout@v4
      - name: Get tags
-
        run: git fetch --tags origin
+
        run: git fetch --prune --unshallow --tags origin
      - name: Configure build cache
        uses: actions/cache@v4
        with:
modified build.rs
@@ -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("1.0.0-rc.1"));
+
    .unwrap_or(String::from("pre-release"));

    // Set a build-time `GIT_COMMIT_TIME` env var which includes the commit time.
    let commit_time = Command::new("git")