mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2024-11-22 08:46:56 -06:00
updated scripts for main branch name
This commit is contained in:
parent
ddc44bef64
commit
d57835e436
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -2,7 +2,7 @@ name: build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: master
|
||||
branches: main
|
||||
paths:
|
||||
- '!RELEASENOTES.**'
|
||||
|
||||
|
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@ -87,7 +87,7 @@ jobs:
|
||||
- name: prepare release
|
||||
run: scripts/release-prepare.sh
|
||||
env:
|
||||
RELEASE_BRANCH_NAME: "master"
|
||||
RELEASE_BRANCH_NAME: "main"
|
||||
GIT_RELEASE_BOT_NAME: "nb-droid"
|
||||
GIT_RELEASE_BOT_EMAIL: ${{ secrets.GIT_RELEASE_BOT_EMAIL }}
|
||||
ACCESS_TOKEN: ${{ secrets.GITHUB_ACCESS_TOKEN }}
|
||||
@ -104,7 +104,7 @@ jobs:
|
||||
run: scripts/release-perform.sh
|
||||
continue-on-error: true
|
||||
env:
|
||||
RELEASE_BRANCH_NAME: "master"
|
||||
RELEASE_BRANCH_NAME: "main"
|
||||
GIT_RELEASE_BOT_NAME: "nb-droid"
|
||||
GIT_RELEASE_BOT_EMAIL: ${{ secrets.GIT_RELEASE_BOT_EMAIL }}
|
||||
ACCESS_TOKEN: ${{ secrets.GITHUB_ACCESS_TOKEN }}
|
||||
|
@ -2,9 +2,9 @@
|
||||
set -e
|
||||
#RELEASE_NOTES_FILE=${RELEASE_NOTES_FILE:?RELEASE_NOTES_FILE must be provided}
|
||||
|
||||
git log --oneline --decorate --max-count=1000 master > /tmp/gitlog_master
|
||||
git log --oneline --decorate --max-count=1000 main > /tmp/gitlog_main
|
||||
|
||||
readarray lines < /tmp/gitlog_master
|
||||
readarray lines < /tmp/gitlog_main
|
||||
for line in "${lines[@]}"
|
||||
do
|
||||
if [[ $line =~ \(tag:\ nosqlbench-[0-9]+\.[0-9]+\.[0-9]+\).+ ]]
|
||||
|
Loading…
Reference in New Issue
Block a user