Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WEBUI-1592: align with lts 2025 as 2025.1.0 & pomote #2355

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/promote.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:
inputs:
version:
description: 'Version to promote (e.g.: 3.1.2-rc.2)'
description: 'Version to promote (e.g.: 2025.1.0-rc.2)'
required: true
referenceBranch:
description: 'Branch to be updated after the promotion'
Expand Down Expand Up @@ -32,7 +32,8 @@ jobs:

- run: git config user.name "nuxeo-webui-jx-bot" && git config user.email "[email protected]"

- run: echo "VERSION=$(echo '${{ github.event.inputs.version }}' | sed -e 's/-rc.[0-9]*//')" >> $GITHUB_ENV
# Extract VERSION from the new format 2025.x.0-rc.y to get 2025.x.0
- run: echo "VERSION=$(echo '${{ github.event.inputs.version }}' | sed -E 's/-rc\.[0-9]+//')" >> $GITHUB_ENV

- name: Update Nuxeo Web UI version to ${{ env.VERSION }}
env:
Expand Down Expand Up @@ -118,7 +119,7 @@ jobs:
run: echo "NEW_VERSION=$(npx semver -i minor $VERSION)" >> $GITHUB_ENV

- if: ${{ github.event.inputs.referenceBranch != 'master' }}
run: echo "NEW_VERSION=$(npx semver -i patch $VERSION)" >> $GITHUB_ENV
run: echo "NEW_VERSION=$(npx semver -i minor $VERSION)" >> $GITHUB_ENV

- name: Align ${{ github.event.inputs.referenceBranch }} branch on next version ${{ env.NEW_VERSION }}-SNAPSHOT
env:
Expand Down
Loading