Skip to content

Commit

Permalink
Working on releases
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris-Schnaufer committed Jul 23, 2024
1 parent 562c7c9 commit 30de99c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/tagged-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,17 @@ jobs:
- name: set date env var
run: echo "NOW=$(date +'%Y.%m.%d')" >> $GITHUB_ENV

- name: set date env var
run: -
if [ "$RUNNER_OS" == "Windows" ]; then
echo "Windows Date"
$NOW=& Get-Date -format yyyy-MM-dd
echo "NOW=$NOW" >> $env:GITHUB_ENV
else
echo "*nix Date"
echo "NOW=$(date +'%Y.%m.%d')" >> $GITHUB_ENV
fi

- name: Upload release assets
uses: softprops/action-gh-release@v2
env:
Expand Down

0 comments on commit 30de99c

Please sign in to comment.