Skip to content

Commit

Permalink
Issue 26516 change release tag for dotcli snapshot version (#26646)
Browse files Browse the repository at this point in the history
* #26516 Changing snapshot tag pattern for dotcms cli.

* #26516 Adding a filter to the workflow release-process (core).
* Avoid workflow triggering when a cli-release is created.

---------

Co-authored-by: daniel.colina <daniel.colina@dotcms.com>
  • Loading branch information
dcolina and dcolina authored Nov 13, 2023
1 parent 2eff4cc commit 8a0c462
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release-process.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ env:

jobs:
release-process:
if: ${{ !startsWith(github.event.release.name, 'dotcms-cli') }}
name: Release process automation
runs-on: ubuntu-20.04
outputs:
Expand Down
5 changes: 5 additions & 0 deletions tools/dotcms-cli/jreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ project:
homepage: https://dotcms.com
documentation: https://dotcms.com/docs/latest

snapshot:
pattern: .*-SNAPSHOT
label: 'dotcms-cli{{projectVersion}}-SNAPSHOT'
fullChangelog: true

release:
github:
tagName: 'dotcms-cli{{projectVersion}}'
Expand Down

0 comments on commit 8a0c462

Please sign in to comment.