Skip to content

Commit

Permalink
Update release.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
mayuki committed Aug 29, 2021
1 parent 6cf3b58 commit 6a0e898
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
- name: "Set VersionSuffix for Preview"
if: "contains(github.ref, 'refs/tags') && contains(github.ref, 'preview')"
run: |
echo "preview.`date '+%Y%m%d-%H%M%S'`+${GITHUB_SHA:0:6}" >> $VERSION_SUFFIX
echo "VERSION_SUFFIX=preview.`date '+%Y%m%d-%H%M%S'`+${GITHUB_SHA:0:6}" >> $GITHUB_ENV
- name: "Get git tag"
if: "contains(github.ref, 'refs/tags')"
run: echo ${GITHUB_REF#refs/tags/} >> $GIT_TAG
run: echo "GIT_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV

# Build
- run: dotnet restore
Expand Down

0 comments on commit 6a0e898

Please sign in to comment.