Skip to content

Commit

Permalink
HMP-475 Fix changelog version and exit build if Docker is not running (
Browse files Browse the repository at this point in the history
…#3308)

* HMP-475 Fix changelog version and exit build if Docker is not running

Adds a check at the start of the push.sh script to check if Docker is running. The push should exit early to avoid the changelog version getting out of sync with the docker tag.

Updates erroneous tag in last CHANGELOG entry.

* Add "version number skipped" entry for 0.82.2

---------

Co-authored-by: Nikolay Akhmetov <[email protected]>
  • Loading branch information
lchoy and NickAkhmetov authored Nov 1, 2023
1 parent f47b526 commit f349f04
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG-update-release-tag.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Update CHANGELOG entry to match Docker tag for v0.82.3.
- Update push.sh to exit early if prerequisite is not met.
5 changes: 4 additions & 1 deletion context/app/markdown/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## v0.82.2 - 2023-10-31
## v0.82.3 - 2023-10-31

- Implement workspace usability metric tracking.
- Add hook to check if user has any running workspaces.
Expand All @@ -8,6 +8,9 @@
- Further constrain collections on landing page to only show collections with both a registered doi and doi url.
- Add dialog to launch workspaces from user templates.

## v0.82.2

- Version number skipped.

## v0.82.1 - 2023-10-25

Expand Down
2 changes: 2 additions & 0 deletions etc/build/push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ set -o errexit

die() { set +v; echo "$*" 1>&2 ; exit 1; }

docker info >/dev/null 2>&1 || die 'Docker daemon is not running.'

git diff --quiet || die 'Uncommitted changes: Stash or commit'
git checkout main
git pull
Expand Down

0 comments on commit f349f04

Please sign in to comment.