Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
Fix release tag formatting (#3788)
sarayourfriend18288bc44f97
diff --git a/.github/workflows/draft_releases.yml b/.github/workflows/draft_releases.ymlindex 2061c6e23..ed1c60707 100644--- a/.github/workflows/draft_releases.yml+++ b/.github/workflows/draft_releases.yml@@ -38,7 +38,7 @@ jobs:{echo "date=$formatted_date";- echo "git-tag=${{ env.APP_NAME }}-$formatted_date";+ echo "git-tag=${{ matrix.app }}-$formatted_date";} >> "$GITHUB_OUTPUT"# Each time this runs, it should replace the previous drafted release matching the tag prefix set in the release drafter config@@ -49,8 +49,8 @@ jobs:with:config-name: release-drafter-${{ matrix.app }}.ymlversion: ${{ steps.tag.outputs.date }}- tag: ${{ matrix.app }}-${{ steps.tag.outputs.git-tag }}- name: ${{ matrix.app }}-${{ steps.tag.outputs.git-tag }}+ tag: ${{ steps.tag.outputs.git-tag }}+ name: ${{ steps.tag.outputs.git-tag }}draft: truecommitish: mainenv:diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.ymlindex b08c54a5a..e2cbd82c3 100644--- a/.github/workflows/release-app.yml+++ b/.github/workflows/release-app.yml@@ -45,7 +45,7 @@ jobs:- name: Calculate tag nameid: tagrun: |- release_date=$(echo '${{ github.ref_name }}' | sed 's/${{ env.APP_NAME }}//')+ release_date=$(echo '${{ github.ref_name }}' | sed 's/${{ env.APP_NAME }}-//')# Generate `rel-` prefixed image tag to avoid duplicated app name between image and tag{