From 1cb653b3fa686e1807c1b146a52b408e6a173290 Mon Sep 17 00:00:00 2001 From: Kadir Cetinkaya Date: Mon, 26 Oct 2020 09:59:09 +0100 Subject: [PATCH] Change escaping of double quotes to single quote Release names contains quotes around commit hashes due to the escaping. After this patch, they'll be gone. --- .github/workflows/periodic.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/periodic.yaml b/.github/workflows/periodic.yaml index a25898d..297cd2e 100644 --- a/.github/workflows/periodic.yaml +++ b/.github/workflows/periodic.yaml @@ -31,7 +31,7 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} - name: Compute release info run: | - echo "RELEASE_COMMIT_SHORT=$(printf \"%.12s\" ${{ steps.pick.outputs.sha }})" >> $GITHUB_ENV + echo "RELEASE_COMMIT_SHORT=$(printf '%.12s' ${{ steps.pick.outputs.sha }})" >> $GITHUB_ENV echo "RELEASE_DATE=$(date -u +%Y%m%d)" >> $GITHUB_ENV - name: Create release uses: actions/create-release@master