Skip to content

Commit

Permalink
Bump version to v0.15.1 for release
Browse files Browse the repository at this point in the history
  • Loading branch information
epwalsh committed May 6, 2022
1 parent ee0b84c commit d6eaa54
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 4 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,10 +191,18 @@ jobs:
- name: Publish image to container registry
if: startsWith(github.ref, 'refs/tags/')
shell: bash
run: |
TAG=${GITHUB_REF#refs/tags/}
docker tag "${image}" "${image}:${TAG}"
docker push "${image}:${TAG}"
TAG_MAJOR_MINOR_PATCH=${GITHUB_REF#refs/tags/}
TAG_MAJOR_MINOR=${TAG_MAJOR_MINOR_PATCH%.*}
TAG_MAJOR=${TAG_MAJOR_MINOR_PATCH%.*.*}
for TAG in $TAG_MAJOR_MINOR_PATCH $TAG_MAJOR_MINOR $TAG_MAJOR
do
echo "Pushing ${image}:${TAG}"
docker tag "${image}" "${image}:${TAG}"
docker push "${image}:${TAG}"
done
release:
name: Release
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

## [v0.15.1](https://github.com/allenai/beaker-py/releases/tag/v0.15.1) - 2022-05-06

### Added

- Docker images released with major and major+minor version tags in addition to full version tag.

## [v0.15.0](https://github.com/allenai/beaker-py/releases/tag/v0.15.0) - 2022-05-06

### Added
Expand Down
2 changes: 1 addition & 1 deletion beaker/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
_MINOR = "15"
# On main and in a nightly release the patch should be one ahead of the last
# released build.
_PATCH = "0"
_PATCH = "1"
# This is mainly for nightly builds which have the suffix ".dev$DATE". See
# https://semver.org/#is-v123-a-semantic-version for the semantics.
_SUFFIX = ""
Expand Down

0 comments on commit d6eaa54

Please sign in to comment.