Skip to content

Commit

Permalink
powershell my old enemy...
Browse files Browse the repository at this point in the history
  • Loading branch information
ech0-de committed Jun 2, 2023
1 parent 0ec8976 commit 3264f3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
- name: generate release tag
id: tag
run: |
echo "::set-output name=release_tag::$(date +"%y%m%d.%H.%M")"
sed -i "s/\"1.0.0\"/\"$(date +'%y%m%d.%H.%M')\"/" package.json
echo "::set-output name=release_tag::$(Get-Date -Format 'yy.MMdd.HHmm')"
(Get-Content package.json).replace('"version": "1.0.0"', """version"": ""$(Get-Date -Format 'yy.MMdd.HHmm')""") Set-Content package.json
- name: install dependencies
run: npm ci
- name: build
Expand Down

0 comments on commit 3264f3a

Please sign in to comment.