diff --git a/CHANGELOG.md b/CHANGELOG.md index c2c6782aa147e0965634d18954b5ad0c60947421..ec0a6d625051f13e874c35d01c0985ed5a2367c7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.4.3] - 2024-06-26 + +### Fixed + +* Default stage now set to `deploy` + ## [0.4.2] - 2024-06-10 ### Fixed diff --git a/README.md b/README.md index 6b7ff4147bcc1f644ace7b7186c295b22f29e2f8..ece5d0514328f2009294bf8fc5178b6ad2ab52cf 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ As a remote Template (recommended): ```yaml include: - - remote: 'https://gitlab.com/swepy/cicd-templates/release-by-changelog/-/raw/0.4.2/templates/release-by-changelog.yml' + - remote: 'https://gitlab.com/swepy/cicd-templates/release-by-changelog/-/raw/0.4.3/templates/release-by-changelog.yml' ``` As a local Template (if the template is local to the instance): @@ -27,7 +27,7 @@ As a local Template (if the template is local to the instance): ```yaml include: - project: 'swepy/cicd-templates/release-by-changelog' - ref: '0.4.2' + ref: '0.4.3' file: 'templates/release-by-changelog.yml' ``` @@ -36,7 +36,7 @@ component is local to the instance): ```yaml include: - - component: $CI_SERVER_FQDN/swepy/cicd-templates/release-by-changelog/release-by-changelog@0.4.2 + - component: $CI_SERVER_FQDN/swepy/cicd-templates/release-by-changelog/release-by-changelog@0.4.3 ``` ### Customize job diff --git a/pyproject.toml b/pyproject.toml index 2263ca2eaac0a97ce6a8b4a660658aed92ada577..05703a3e9041f9c3b8471bcee930c03b69007b44 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [tool.bumpversion] commit = true config-file = "pyproject.toml" -current_version = "0.4.2" +current_version = "0.4.3" parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)" replace = "{new_version}" search = "{current_version}" diff --git a/templates/release-by-changelog.yml b/templates/release-by-changelog.yml index 8d193158c08ae09187c5b559846576517392ecaf..db603de12674677d8e8d6cc9ba4f9db58be26353 100644 --- a/templates/release-by-changelog.yml +++ b/templates/release-by-changelog.yml @@ -8,7 +8,7 @@ release_by_changelog: NAME_PREFIX: $PREFIX NAME_SUFFIX: $SUFFIX image: registry.gitlab.com/gitlab-org/release-cli - stage: test + stage: deploy script: # Use grep to find version headers and store them in a variable - 'headers=$(grep -nE "^## \[([0-9]+)\.([0-9]+)\.([0-9]+)(-[0-9A-Za-z-]+(\.[0-9A-Za-z-]+)*)?(\+[0-9A-Za-z-]+(\.[0-9A-Za-z-]+)*)?\] - [0-9]{4}-[0-9]{2}-[0-9]{2}$" "$CHANGELOG_FILEPATH")'