-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
86 additions
and
2 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 |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
|
||
|
||
# Current Version | ||
CURRENT_VERSION = "1.11.12" | ||
CURRENT_VERSION = "1.12.12" | ||
|
||
# Some file references | ||
|
||
|
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,76 @@ | ||
In a different system, execute the steps below to check if the application is working. Please, request a new token and add it to the .token file. | ||
--- | ||
# > ~/.token | ||
# vi ~/.token | ||
<< the file will be something like >> | ||
<< TOKEN="eyJhbGciOiJIUzI1NiIsInR5cCIg..." >> | ||
# cd /root | ||
# git clone https://github.com/C-RH-C/crhc-cli.git | ||
# cd crhc-cli/tests | ||
# ./end-to-end_crhc-cli_check.sh -p 9999 | ||
--- | ||
Note. The steps above will do all the tests and will generate a log file "/tmp/crhc-system-test_$DATE.log" that you could review in the end. Assuming that everything is ok, we can move on. | ||
Don't forget to revoke the token once your tests are done. | ||
|
||
|
||
|
||
Create the binary version for Linux & Windows | ||
--- | ||
# pyinstaller --onefile crhc.py | ||
--- | ||
Note. The file will be available under "crhc-cli/dist" folder. Please, feel free to rename the file to "crhc-linux-x64" in case of Linux build or "crhc-win-x64.exe" in case of MS Windows build. | ||
|
||
|
||
|
||
Execute the commnand below and collect all the changes above the last tag/version/release | ||
--- | ||
$ git log --oneline | ||
--- | ||
|
||
|
||
|
||
Create a new branch here for the "new_version" | ||
|
||
|
||
|
||
Edit the file "conf/conf.py" and change accordingly. | ||
--- | ||
CURRENT_VERSION = "1.11.12" | ||
--- | ||
Note. X.Y.Z, where: | ||
X is a Major change | ||
Y is Enhancement | ||
Z is BugFix | ||
|
||
|
||
|
||
Check the Commits and Issues related to the changes. If there is no Issue associated to them, please, create one and do the association. It will be used in the next step. | ||
|
||
|
||
|
||
Edit the file "docs/changelog.rst" and add the changelog for the new version. Below we can see an example | ||
--- | ||
**v1.11.12 - 01/26/2023** | ||
|
||
- [ENHANCEMENT] Adding the new feature to remove stale entries based on the # of days - [`issue 24`_] | ||
- [FIX] Fixing the syspurpose issue - [`issue 168`_] | ||
|
||
.. _issue 168: https://github.com/C-RH-C/crhc-cli/issues/168 | ||
.. _issue 24: https://github.com/C-RH-C/crhc-cli/issues/24 | ||
|
||
<...> | ||
--- | ||
|
||
|
||
|
||
Now, it's time to push. | ||
--- | ||
git status | ||
git add <files that were changed> | ||
git commit -m "nice description about the new version here" | ||
git push --set-upstream origin new_version | ||
--- | ||
|
||
|
||
|
||
Once it's done via CLI, just access the github page, proceed with the merge, in a sequence, create a new Release, it will also create a new tag. Keep in mind, th tag should match with the CURRENT_VESION set above. |