Skip to content

Commit

Permalink
Update archive run name and fix build tag handling (#127)
Browse files Browse the repository at this point in the history
* Add get_next_release_version and commit sha to update internal release semver

* move internal version into separate action.yaml

* move internal version into separate action.yaml

* move internal version into separate action.yaml

* Add skip tests optional parameter

* use test branch for new action

* use test branch for new action

* move codeartifact call back to workflow

* swap to comma delimited string

* add ${{ github.action_path }}

* add install of semantic-version

* fix args to pyscript

* fix args in update version and add step id

* fix args in update version and add step id

* use post instead of build

* use post instead of build

* update action description

* update action description

* update action description

* update action name

* update get_next_release_version.py to correctly handle build tags

* update from main

* update from main
  • Loading branch information
colin-rogers-dbt authored Jun 24, 2024
1 parent 00224f8 commit 5706a88
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ def increment_latest_version(released_versions: List[str], target_version: str)
latest_version.prerelease = ("post0",)
for version in released_versions:
version = Version.coerce(version)
# semantic_version does not handle build metadata, so we need to move it to the prerelease field
if not version.prerelease and version.build:
version.prerelease = version.build
version.build = []
if (
version.major == latest_version.major
and version.minor == latest_version.minor
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/internal-archive-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
# Called by upstream internal-release.yml workflows that live in adapter repos

name: "Internal Archive Release"
run-name: "Cloud releasing ${{inputs.dbms_name}} off of ${{ inputs.ref }}"

on:
workflow_call:
Expand Down

0 comments on commit 5706a88

Please sign in to comment.