Releases: octue/get-deployment-info
Releases · octue/get-deployment-info
Shorten revision tag for pull requests
Contents (#13)
Fixes
- Shorten revision tag to "pull-<pull request number>" for pull request runs
Operations
- Run test workflow on pull request only
Facilitate branch deployments
Summary
This pull request does two main things:
- It distinguishes between the version specified in the
setup.pyorpyproject.tomlfile and the revision tag:
- The
version_slugoutput is now the slugified form ofversioninstead of the slugified form of the revision tag - The old form of
version_slugis nowrevision_tag_slug - A non-slugified
revision_tagoutput is now available
- The
revision_tagof a non-main branch is nowbranch-<branch-name>instead ofunreleased. This facilitates having multiple deployed branches.
Contents (#10)
IMPORTANT: There is 1 breaking change.
Enhancements
- 💥 BREAKING CHANGE: Distinguish between version and revision tag
- Set revision tag to
branch-<branch-name>if branch is notmain
Operations
- Update pre-commit config
Testing
- Temporarily disable short sha check
Upgrade instructions
💥 Distinguish between version and revision tag
Use revision_tag_slug instead of version_slug to get the same value
Rename "artefact" to "artifact" to align with common spelling
Print outputs to `stdout` as part of action
Contents (#4)
Enhancements
- Echo outputs to
stdoutas part of action
Documentation
- Update action input/output descriptions
- Add branding to action
Add tests to workflow
Contents (#3)
Testing
- Expand test workflow to test most outputs of the GitHub action
Operations
- Change trigger for semantic version checker to push
Fix release workflow
Contents (#2)
Operations
- Add missing
poetryinstallation step in release workflow - Add workflow for manually building/pushing docker images
Testing
- Add assertion to workflow
Chores
- Remove extra space