From afe4675d3295ddc755f67704551f82f7766e53ff Mon Sep 17 00:00:00 2001 From: Paige Gulley Date: Tue, 8 Oct 2024 14:18:59 -0400 Subject: [PATCH] different tag name strategy --- .github/workflows/release_record.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release_record.yml b/.github/workflows/release_record.yml index faa6d7c..b130f25 100644 --- a/.github/workflows/release_record.yml +++ b/.github/workflows/release_record.yml @@ -22,9 +22,13 @@ jobs: run: | pip install git+https://github.com/mediacloud/mc-manage@v1.1.5 + - name: Get tag name + id: extract_tag + run: echo "TAG_NAME=${GITHUB_REF##*/}" >> $GITHUB_ENV + - name: Record successful release run: | - python -m mc-manage.airtable-release-update --name mc-manage --version ${{ github.event.release.tag_name }} + python -m mc-manage.airtable-release-update --name mc-manage --version ${{ env.TAG_NAME }} env: AIRTABLE_API_KEY: ${{ secrets.AIRTABLE_API_KEY }} MEAG_BASE_ID: ${{ secrets.MEAG_BASE_ID}}