-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: update branch names and references in our documentation
- Loading branch information
1 parent
406e137
commit a08a28b
Showing
21 changed files
with
57 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ on: | |
- 'docs/**' | ||
- '**/*.md' | ||
branches: | ||
- develop | ||
- releases | ||
- release/** | ||
- main | ||
workflow_dispatch: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ on: | |
paths: | ||
- 'charts/**' | ||
branches: | ||
- main | ||
- releases | ||
workflow_dispatch: | ||
|
||
jobs: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ name: "Publish new release" | |
on: | ||
pull_request: | ||
branches: | ||
- main | ||
- releases | ||
- support/* | ||
types: | ||
- closed | ||
|
@@ -128,7 +128,7 @@ jobs: | |
git push origin gh-pages | ||
# Release: GitHub tag & release; Merges back main into develop; Starts a new development cycle; | ||
# Release: GitHub tag & release; Merges back releases into main; Starts a new development cycle; | ||
github-release: | ||
name: Publish new github release | ||
needs: [ release-version ] | ||
|
@@ -148,7 +148,7 @@ jobs: | |
name: Checkout | ||
uses: actions/[email protected] | ||
with: | ||
# 0 to fetch the full history due to upcoming merge of main into develop branch | ||
# 0 to fetch the full history due to upcoming merge of releases into main branch | ||
fetch-depth: 0 | ||
- | ||
name: Create Release Tag | ||
|
@@ -185,15 +185,15 @@ jobs: | |
distribution: 'temurin' | ||
cache: 'gradle' | ||
- | ||
name: Merge main back into develop and set new snapshot version | ||
if: github.event.pull_request.base.ref == 'main' | ||
name: Merge releases back into main and set new snapshot version | ||
if: github.event.pull_request.base.ref == 'releases' | ||
run: | | ||
# Prepare git env | ||
git config user.name "GitHub actions" | ||
git config user.email [email protected] | ||
# Merge main into develop | ||
git checkout develop && git merge -X theirs main --no-commit --no-ff | ||
# Merge releases into main | ||
git checkout main && git merge -X theirs releases --no-commit --no-ff | ||
# Extract release version | ||
IFS=. read -r RELEASE_VERSION_MAJOR RELEASE_VERSION_MINOR RELEASE_VERSION_PATCH<<<"${{ env.RELEASE_VERSION }}" | ||
|
@@ -204,8 +204,8 @@ jobs: | |
# Persist the "version" in the gradle.properties | ||
sed -i "s/version=.*/version=$SNAPSHOT_VERSION/g" gradle.properties | ||
# Commit and push to origin develop | ||
# Commit and push to origin main | ||
git add gradle.properties | ||
git commit --message "Introduce new snapshot version $SNAPSHOT_VERSION" | ||
git push origin develop | ||
git push origin main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,7 @@ on: | |
push: | ||
branches: | ||
- main | ||
- develop | ||
- releases | ||
tags: | ||
- '[0-9]+.[0-9]+.[0-9]+' | ||
release: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters