Skip to content

Facilitate branch deployments

Compare
Choose a tag to compare
@github-actions github-actions released this 29 Nov 10:52
d9b573d

Summary

This pull request does two main things:

  1. It distinguishes between the version specified in the setup.py or pyproject.toml file and the revision tag:
  • The version_slug output is now the slugified form of version instead of the slugified form of the revision tag
  • The old form of version_slug is now revision_tag_slug
  • A non-slugified revision_tag output is now available
  1. The revision_tag of a non-main branch is now branch-<branch-name> instead of unreleased. 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 not main

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