mirror of
https://github.com/fawazahmed0/exchange-api.git
synced 2025-06-29 18:21:14 +00:00
use utc date
This commit is contained in:
parent
838b2541da
commit
c23009d41b
4
.github/workflows/run.yml
vendored
4
.github/workflows/run.yml
vendored
@ -48,7 +48,7 @@ jobs:
|
||||
|
||||
- name: Set date today
|
||||
run: |
|
||||
echo "date_today=`date -I`" >> "$GITHUB_ENV"
|
||||
echo "date_today=`date -uI`" >> "$GITHUB_ENV"
|
||||
echo "date_today_semver=`node semver-date.js`" >> "$GITHUB_ENV"
|
||||
|
||||
- name: Generate tarball
|
||||
@ -59,7 +59,7 @@ jobs:
|
||||
- name: publish
|
||||
run: |
|
||||
npm publish --access public package.tar.gz
|
||||
npm dist-tag add @fawazahmed0/currency-api@${{ env.date_today_semver }} `date -I`
|
||||
npm dist-tag add @fawazahmed0/currency-api@${{ env.date_today_semver }} ${{ env.date_today }}
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user