Include time information in release time (#2850)

This commit is contained in:
Shrikant Sharat Kandula 2021-02-04 09:15:56 +05:30 committed by GitHub
parent 8c5213b6fd
commit 17d61fda0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -102,7 +102,7 @@ jobs:
REACT_APP_SEGMENT_CE_KEY=${{ secrets.APPSMITH_SEGMENT_CE_KEY }} \
SENTRY_AUTH_TOKEN=${{ secrets.SENTRY_AUTH_TOKEN }} \
REACT_APP_VERSION_ID=${{ steps.vars.outputs.version }} \
REACT_APP_VERSION_RELEASE_DATE=$(date +%Y-%m-%d) \
REACT_APP_VERSION_RELEASE_DATE=$(date -u '+%Y-%m-%dT%H:%M:%SZ') \
yarn build
# Upload the build artifact so that it can be used by the test & deploy job in the workflow

View File

@ -82,7 +82,9 @@ jobs:
REACT_APP_FUSIONCHARTS_LICENSE_KEY: '${{ secrets.APPSMITH_FUSIONCHARTS_LICENSE_KEY }}'
REACT_APP_SEGMENT_CE_KEY: '${{ secrets.APPSMITH_SEGMENT_CE_KEY }}'
REACT_APP_VERSION_ID: '${{ needs.prelude.outputs.tag }}'
run: 'REACT_APP_VERSION_RELEASE_DATE="$(date +%Y-%m-%d)" yarn build'
run: |
REACT_APP_VERSION_RELEASE_DATE="$(date -u '+%Y-%m-%dT%H:%M:%SZ')" \
yarn build
# Build Docker image and push to Docker Hub
- name: Push production image to Docker Hub with commit tag