mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-01-13 01:12:01 -06:00
moving main branch to nb4-maintenance
This commit is contained in:
parent
3ecc9b18d4
commit
d7e0a6bc67
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
@ -3,7 +3,7 @@ name: release
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- nb4-maintenance
|
||||
paths:
|
||||
- RELEASENOTES.**
|
||||
|
||||
@ -95,7 +95,7 @@ jobs:
|
||||
- name: select release type from branch name
|
||||
run: |
|
||||
current_branch=$(git rev-parse --abbrev-ref HEAD)
|
||||
if [[ ${current_branch} == *"main"* ]]
|
||||
if [[ ${current_branch} == *"nb4-maintenance"* ]]
|
||||
then
|
||||
echo "PRERELEASE=false" >> $GITHUB_ENV
|
||||
echo "DOCKER_TAGS=nosqlbench/nosqlbench:latest,nosqlbench/nosqlbench:4x,nosqlbench/nosqlbench:${{ env.RELEASE_VERSION }}" >> $GITHUB_ENV
|
||||
@ -107,8 +107,8 @@ jobs:
|
||||
- name: prepare Maven release
|
||||
run: scripts/release-prepare.sh
|
||||
env:
|
||||
RELEASE_BRANCH_PATTERN: "main"
|
||||
PRERELEASE_BRANCH_PATTERN: "prerelease"
|
||||
RELEASE_BRANCH_PATTERN: "nb4-maintenance"
|
||||
PRERELEASE_BRANCH_PATTERN: "nb5-preview"
|
||||
GIT_RELEASE_BOT_NAME: "nb-droid"
|
||||
GIT_RELEASE_BOT_EMAIL: ${{ secrets.GIT_RELEASE_BOT_EMAIL }}
|
||||
ACCESS_TOKEN: ${{ secrets.GITHUB_ACCESS_TOKEN }}
|
||||
@ -161,8 +161,8 @@ jobs:
|
||||
run: scripts/release-perform.sh
|
||||
continue-on-error: true
|
||||
env:
|
||||
RELEASE_BRANCH_PATTERN: "main"
|
||||
PRERELEASE_BRANCH_PATTERN: "prerelease"
|
||||
RELEASE_BRANCH_PATTERN: "nb4-maintenance"
|
||||
PRERELEASE_BRANCH_PATTERN: "nb5-preview"
|
||||
GIT_RELEASE_BOT_NAME: "nb-droid"
|
||||
GIT_RELEASE_BOT_EMAIL: ${{ secrets.GIT_RELEASE_BOT_EMAIL }}
|
||||
ACCESS_TOKEN: ${{ secrets.GITHUB_ACCESS_TOKEN }}
|
||||
|
Loading…
Reference in New Issue
Block a user