Skip to content

Commit 4bd969d

Browse files
authored
[VERSION] new version 1.12.12
1 parent 8d70bd7 commit 4bd969d

File tree

3 files changed

+86
-2
lines changed

3 files changed

+86
-2
lines changed

conf/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111

1212
# Current Version
13-
CURRENT_VERSION = "1.11.12"
13+
CURRENT_VERSION = "1.12.12"
1414

1515
# Some file references
1616

docs/changelog.rst

+9-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@ Changelog
22
---------
33

44

5+
**v1.12.12 - 06/23/2023**
6+
7+
- [ENHANCEMENT] changed inventory_list_all to collect details in batches of 50 - [`issue 180`_]
8+
9+
.. _issue 180: https://github.com/C-RH-C/crhc-cli/issues/180
10+
11+
12+
513
**v1.11.12 - 01/26/2023**
614

715
- [ENHANCEMENT] Adding the new feature to remove stale entries based on the # of days - [`issue 24`_]
@@ -184,4 +192,4 @@ Changelog
184192

185193
**v1.0.0 - 08/07/2021**
186194

187-
- Initial idea and first piece of code! :)
195+
- Initial idea and first piece of code! :)

update_workflow.readme

+76
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
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.
2+
---
3+
# > ~/.token
4+
# vi ~/.token
5+
<< the file will be something like >>
6+
<< TOKEN="eyJhbGciOiJIUzI1NiIsInR5cCIg..." >>
7+
# cd /root
8+
# git clone https://github.com/C-RH-C/crhc-cli.git
9+
# cd crhc-cli/tests
10+
# ./end-to-end_crhc-cli_check.sh -p 9999
11+
---
12+
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.
13+
Don't forget to revoke the token once your tests are done.
14+
15+
16+
17+
Create the binary version for Linux & Windows
18+
---
19+
# pyinstaller --onefile crhc.py
20+
---
21+
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.
22+
23+
24+
25+
Execute the commnand below and collect all the changes above the last tag/version/release
26+
---
27+
$ git log --oneline
28+
---
29+
30+
31+
32+
Create a new branch here for the "new_version"
33+
34+
35+
36+
Edit the file "conf/conf.py" and change accordingly.
37+
---
38+
CURRENT_VERSION = "1.11.12"
39+
---
40+
Note. X.Y.Z, where:
41+
X is a Major change
42+
Y is Enhancement
43+
Z is BugFix
44+
45+
46+
47+
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.
48+
49+
50+
51+
Edit the file "docs/changelog.rst" and add the changelog for the new version. Below we can see an example
52+
---
53+
**v1.11.12 - 01/26/2023**
54+
55+
- [ENHANCEMENT] Adding the new feature to remove stale entries based on the # of days - [`issue 24`_]
56+
- [FIX] Fixing the syspurpose issue - [`issue 168`_]
57+
58+
.. _issue 168: https://github.com/C-RH-C/crhc-cli/issues/168
59+
.. _issue 24: https://github.com/C-RH-C/crhc-cli/issues/24
60+
61+
<...>
62+
---
63+
64+
65+
66+
Now, it's time to push.
67+
---
68+
git status
69+
git add <files that were changed>
70+
git commit -m "nice description about the new version here"
71+
git push --set-upstream origin new_version
72+
---
73+
74+
75+
76+
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.

0 commit comments

Comments
 (0)