-
Notifications
You must be signed in to change notification settings - Fork 9
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 #18 from vortexmakes/issue-enhancing-releases
Automate deploy and releases
- Loading branch information
Showing
11 changed files
with
1,361 additions
and
89 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
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# | ||
# git files that we don't want to ignore even it they are dot-files | ||
# | ||
!.gitignore | ||
!.gitattributes | ||
|
||
__pycache__ |
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 |
---|---|---|
@@ -1,9 +1,29 @@ | ||
# How to release | ||
```bash | ||
cd path/to/<release-dir> | ||
vim changelog # Copy the latest changes from <rkh-dir> | ||
cd path/to/<rkh-dir>/tools/deploy | ||
./rkh-deploy.sh clean path/to/<release-dir> | ||
./rkh-deploy.sh deploy 3.2.3 ../../../rkh-git/ path/to/<release-dir> # Use an absolut path | ||
./rkh-release.sh -v 3.2.3 -r vortexmakes/RKH -s path/to/<release-dir>/rkh_v3.2.3.tar.gz -m path/to/<release-dir>/changelog -t <token> | ||
# How to deploy and release | ||
|
||
## Create a release directory | ||
```bash | ||
mkdir path/to/<release-dir> | ||
``` | ||
|
||
## Clone RKH framework | ||
```bash | ||
cd path/to/<projects> | ||
git clone https://github.com/vortexmakes/RKH.git | ||
``` | ||
|
||
## Add code changes into changelog file | ||
```bash | ||
cd path/to/<projects>/RKH # RKH clone | ||
vim tools/deploy/changelog.json # Add a new release section and complete | ||
# it with your changes. Do not forget to | ||
# add the release version and the release | ||
# date | ||
``` | ||
|
||
## Execute release process | ||
```bash | ||
cd path/to/<projects>/RKH # RKH clone | ||
cd tools/deploy | ||
./deploy.py -c <release-version> vortexmakes/RKH <path/to/<release-dir> <github-token> | ||
./deploy.py <release-version> vortexmakes/RKH <path/to/<release-dir> <github-token> | ||
``` |
Oops, something went wrong.