From 31f1d299f69c025f9147ca4ffaefc85301034959 Mon Sep 17 00:00:00 2001 From: Michael Uti Date: Fri, 5 Apr 2024 20:46:13 +0100 Subject: [PATCH] ci: create a temporary branch before calling `cargo release publish` --- .github/workflows/release-publish-crates.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release-publish-crates.yml b/.github/workflows/release-publish-crates.yml index 409ef5a0953..fcb4cc870ef 100644 --- a/.github/workflows/release-publish-crates.yml +++ b/.github/workflows/release-publish-crates.yml @@ -42,6 +42,9 @@ jobs: fetch-depth: 0 ref: ${{ github.event.inputs.release_git_tag }} + - name: Create A Temporary Branch To Perform Release + run: git checkout -B "$(date +%s)" + - name: Publish Ockam Crates env: OCKAM_PUBLISH_TOKEN: '${{ secrets.CRATES_IO_PUBLISH_TOKEN }}'