From 56b480cbe6098cf595e98f9ba742f7eb229c8631 Mon Sep 17 00:00:00 2001 From: Mweya Ruider Date: Tue, 10 Oct 2023 11:10:19 +0200 Subject: [PATCH] ci(release) Use tag to get rev --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 37e3db90..aaaf53e7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -275,7 +275,7 @@ jobs: id: vars run: | echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT - echo "revision=$(git rev-list -n 1 ${RELEASE_VERSION})" >> $GITHUB_OUTPUT + echo "revision=$(git rev-list -n 1 ${GITHUB_REF#refs/*/})" >> $GITHUB_OUTPUT - name: Checkout brew repo uses: actions/checkout@v2