-
Notifications
You must be signed in to change notification settings - Fork 239
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3375 from PecanProject/master-to-main
rename master to main/latest
- Loading branch information
Showing
45 changed files
with
82 additions
and
181 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name: renderbook | |
on: | ||
push: | ||
branches: | ||
- master | ||
- main | ||
- develop | ||
tags: | ||
- '*' | ||
|
@@ -65,9 +65,12 @@ jobs: | |
git config --global user.email "[email protected]" | ||
git config --global user.name "GitHub Documentation Robot" | ||
export VERSION=$(echo $GITHUB_REF | sed 's,.*/,,' ) | ||
if [ "$VERSION" == "main" ]; then | ||
export VERSION=latest | ||
fi | ||
cd pecan-documentation | ||
mkdir -p $VERSION | ||
rsync -a --delete ../book_source/_book/ ${VERSION}/ | ||
git add --all * | ||
git commit -m "Build book from pecan revision ${GITHUB_SHA}" || true | ||
git push -q origin master | ||
git push -q 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 was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,7 +48,7 @@ We follow branch organization laid out on [this page](http://nvie.com/posts/a-su | |
In short, there are three main branches you must be aware of: | ||
|
||
* **develop** - Main Branch containing the latest code. This is the main branch you will make changes to. | ||
* **master** - Branch containing the latest stable code. DO NOT MAKE CHANGES TO THIS BRANCH. | ||
* **main** - Branch containing the latest stable code. DO NOT MAKE CHANGES TO THIS BRANCH. | ||
* **release/vX.X.X** - Named branches containing code specific to a release. Only make changes to this branch if you are fixing a bug on a release branch. | ||
|
||
#### Milestones, Issues, Tasks | ||
|
@@ -121,7 +121,7 @@ git remote add upstream [email protected]:PecanProject/pecan.git | |
|
||
##### Hint: Keeping your fork in sync | ||
|
||
If you have used the instructions above, you can use the helper script called [`scripts/syncgit.sh`](https://github.com/PecanProject/pecan/blob/master/scripts/syncgit.sh) to keep the master and develop branches of your own fork in sync with the PEcAnProject/pecan repository. | ||
If you have used the instructions above, you can use the helper script called [`scripts/syncgit.sh`](https://github.com/PecanProject/pecan/blob/main/scripts/syncgit.sh) to keep the main and develop branches of your own fork in sync with the PEcAnProject/pecan repository. | ||
|
||
After following the above, your .git/config file will include the following: | ||
|
||
|
@@ -144,7 +144,7 @@ Then, you can run: | |
./scripts/syncgit.sh | ||
``` | ||
|
||
Now the master and develop branches on your fork will be up to date. | ||
Now the main and develop branches on your fork will be up to date. | ||
|
||
#### Using Branching | ||
|
||
|
@@ -199,7 +199,7 @@ git push origin <branchname> | |
|
||
#### After pull request is merged | ||
|
||
1. Make sure you start in master | ||
1. Make sure you start in main | ||
|
||
```sh | ||
git checkout develop` | ||
|
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
Oops, something went wrong.