Skip to content

Commit

Permalink
chore: Set current datetime in release tag
Browse files Browse the repository at this point in the history
  • Loading branch information
tsubakimoto committed May 5, 2024
1 parent bf25efb commit fb41408
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/netstandard20-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,11 @@ jobs:
- name: Publish NuGet package
run: |
dotnet nuget push **/*.nupkg --source "github"
- name: Set current datetime
run: |
echo "CURRENT_DATETIME=$(date +'%Y-%m-%d %H:%M:%S')" >> $GITHUB_ENV
- name: Create Release
uses: ncipollo/release-action@v1
with:
artifacts: '**/*.nupkg'
tag: ${{ env.CURRENT_DATETIME }}

0 comments on commit fb41408

Please sign in to comment.