Skip to content

Commit

Permalink
fix: simplify release workflow by removing regex patterns and enhanci…
Browse files Browse the repository at this point in the history
…ng Git tag creation
  • Loading branch information
carolinebrasil committed Dec 7, 2024
1 parent 093d119 commit 4b49477
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,21 +32,20 @@ jobs:
with:
branching_model: "trunk-based"
main_branch_name: "main"
major_regex: "(?i)^(.+:)?(release/.+)"
minor_regex: "(?i)^(.+:)?(feature/.+)"
patch_regex: "(?i)^(.+:)?(hotfix/.+)"
debug: "true"

- name: Debug SemVer
run: |
echo "New version: ${{ steps.semver-tag.outputs.semver_tag }}"
echo "Git SHA: ${{ github.sha }}"
- name: Create git tag
- name: Create Git tag
uses: rickstaa/[email protected]
id: tag-create
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ steps.semver-tag.outputs.semver_tag }}
tag: ${{ steps.semver-tag.outputs.semver_tag }}
message: "ci: release ${{ steps.semver-tag.outputs.semver_tag }}"

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
Expand Down

0 comments on commit 4b49477

Please sign in to comment.