mirror of
https://github.com/Sea-Haven-Industries/afterhours-shift-manager.git
synced 2026-10-06 19:22:06 +00:00
Merge pull request #50 from Sea-Haven-Industries/feature/fix-version-bump-workflow
Fix version bump timezone bug and dynamic canvas URL
This commit is contained in:
commit
b081191114
1 changed files with 2 additions and 2 deletions
4
.github/workflows/deploy-notify.yml
vendored
4
.github/workflows/deploy-notify.yml
vendored
|
|
@ -58,7 +58,7 @@ jobs:
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
LAST_TAG_DATE=$(git log -1 --format=%aI "$LAST_TAG")
|
LAST_TAG_DATE=$(TZ=UTC git log -1 --date=format-local:'%Y-%m-%dT%H:%M:%SZ' --format='%ad' "$LAST_TAG")
|
||||||
PRS=$(gh pr list --state merged --json number,title,mergedAt \
|
PRS=$(gh pr list --state merged --json number,title,mergedAt \
|
||||||
--jq "sort_by(.number) | .[] | select(.mergedAt > \"$LAST_TAG_DATE\")")
|
--jq "sort_by(.number) | .[] | select(.mergedAt > \"$LAST_TAG_DATE\")")
|
||||||
|
|
||||||
|
|
@ -158,7 +158,7 @@ jobs:
|
||||||
VERSION: ${{ steps.changes.outputs.version }}
|
VERSION: ${{ steps.changes.outputs.version }}
|
||||||
SLACK_BULLETS: ${{ steps.changes.outputs.slack_bullets }}
|
SLACK_BULLETS: ${{ steps.changes.outputs.slack_bullets }}
|
||||||
run: |
|
run: |
|
||||||
CANVAS_URL="https://app.slack.com/docs/F0B13V3EBUN"
|
CANVAS_URL="https://app.slack.com/docs/${CANVAS_ID}"
|
||||||
read -r -d '' TEXT <<ENDTXT || true
|
read -r -d '' TEXT <<ENDTXT || true
|
||||||
*After-Hours Scheduler has been updated to ${VERSION}*
|
*After-Hours Scheduler has been updated to ${VERSION}*
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue