Get deployment information
Version updated for octue/get-deployment-info to version 0.2.0.
- This action is used across all versions by 7 repositories.
Go to the GitHub Marketplace to find the latest changes.
Release notes
Summary
This pull request does two main things:
- It distinguishes between the version specified in the
setup.py
orpyproject.toml
file and the revision tag:
- The
version_slug
output is now the slugified form ofversion
instead of the slugified form of the revision tag - The old form of
version_slug
is nowrevision_tag_slug
- A non-slugified
revision_tag
output is now available
- The
revision_tag
of 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
Use revision_tag_slug
instead of version_slug
to get the same value