diff options
author | Brad Linden <brad@lindenlab.com> | 2024-06-17 17:55:29 -0700 |
---|---|---|
committer | Brad Linden <brad@lindenlab.com> | 2024-06-17 17:55:29 -0700 |
commit | dd64c39d64ef0b829952dac5c4ef61c51671b9d4 (patch) | |
tree | 0240c6a330851e6064c9360f2e7168d0a728d1fd /.github/workflows/tag-release.yaml | |
parent | b9a8b3b240512bdf5bbb99f6bc581872fead86b8 (diff) |
Pass through input channel to select the tag channel name
Diffstat (limited to '.github/workflows/tag-release.yaml')
-rw-r--r-- | .github/workflows/tag-release.yaml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/tag-release.yaml b/.github/workflows/tag-release.yaml index 8bb498219d..2a375e0375 100644 --- a/.github/workflows/tag-release.yaml +++ b/.github/workflows/tag-release.yaml @@ -27,8 +27,10 @@ jobs: tag-release: runs-on: ubuntu-latest steps: - - name: Setup Date Env + - name: Setup Env Vars run: | + CHANNEL="${{ inputs.channel }}" + echo VIEWER_CHANNEL="Second_Life_${CHANNEL:-Develop}" >> ${GITHUB_ENV} echo NIGHTLY_DATE=$(date --rfc-3339=date) >> ${GITHUB_ENV} - name: Update Tag uses: actions/github-script@v7.0.1 @@ -39,6 +41,6 @@ jobs: github.rest.git.createRef( owner: context.repo.owner, repo: context.repo.repo, - ref: "refs/tags/Second_Life_Develop#${{ env.NIGHTLY_DATE }}", + ref: "refs/tags/${{ env.VIEWER_CHANNEL }}#${{ env.NIGHTLY_DATE }}", sha: context.sha ) |