From 2725867ec7b7c6724e0d2f05bb3d6ec1e94b1075 Mon Sep 17 00:00:00 2001 From: Adam Plumer Date: Tue, 10 Feb 2026 18:33:03 -0500 Subject: [PATCH] chore: remove extra curly brace from release tag --- .github/workflows/main.yaml | 2 +- tools/github_workflows/workflows_template.libsonnet | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index c4452c53..3f66e261 100755 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -679,7 +679,7 @@ { "id": "create_tag", "name": "Generate tag", - "run": "BUILD_SCM_REVISION=$(git rev-parse --short HEAD)\nBUILD_SCM_TIMESTAMP=$(TZ=UTC date --date \"@$(git show -s --format=%ct HEAD)\" +%Y%m%dT%H%M%SZ)\nRELEASE_TAG=\"${BUILD_SCM_TIMESTAMP}-${BUILD_SCM_REVISION}}\"\ngit tag $RELEASE_TAG\ngit push --follow-tags\necho \"release_tag=$RELEASE_TAG\" >> $GITHUB_OUTPUT\n" + "run": "BUILD_SCM_REVISION=$(git rev-parse --short HEAD)\nBUILD_SCM_TIMESTAMP=$(TZ=UTC date --date \"@$(git show -s --format=%ct HEAD)\" +%Y%m%dT%H%M%SZ)\nRELEASE_TAG=\"${BUILD_SCM_TIMESTAMP}-${BUILD_SCM_REVISION}\"\ngit tag $RELEASE_TAG\ngit push --follow-tags\necho \"release_tag=$RELEASE_TAG\" >> $GITHUB_OUTPUT\n" }, { "name": "Create GitHub release and upload artifacts", diff --git a/tools/github_workflows/workflows_template.libsonnet b/tools/github_workflows/workflows_template.libsonnet index 36860e65..f7351a67 100644 --- a/tools/github_workflows/workflows_template.libsonnet +++ b/tools/github_workflows/workflows_template.libsonnet @@ -182,7 +182,7 @@ run: ||| BUILD_SCM_REVISION=$(git rev-parse --short HEAD) BUILD_SCM_TIMESTAMP=$(TZ=UTC date --date "@$(git show -s --format=%ct HEAD)" +%Y%m%dT%H%M%SZ) - RELEASE_TAG="${BUILD_SCM_TIMESTAMP}-${BUILD_SCM_REVISION}}" + RELEASE_TAG="${BUILD_SCM_TIMESTAMP}-${BUILD_SCM_REVISION}" git tag $RELEASE_TAG git push --follow-tags echo "release_tag=$RELEASE_TAG" >> $GITHUB_OUTPUT