@@ -24,6 +24,19 @@ This will create a new branch named `releases/CHART/VERSION`.
24
24
25
25
You may also combine both of these steps with `make CHART=CHART_NAME bump-patch prepare-branch`.
26
26
27
+ Once prepared push the branch.
28
+ Once merged a new tag can be cut.
29
+ First make sure you have the most recent changes :
30
+
31
+ ` ` ` shell
32
+ git checkout main
33
+ git pull origin main
34
+ git fetch origin
35
+ ` ` `
36
+
37
+ Then tag the release with `make CHART=CHART_NAME tag-release`.
38
+ Once tagged, push the new tag with `git push origin --tags $TAG`
39
+
27
40
Example output :
28
41
29
42
~~~shell
@@ -80,4 +93,50 @@ Changes to be committed:
80
93
2 files changed, 3 insertions(+), 3 deletions(-)
81
94
82
95
Branch prepared! Run: git push origin releases/voyager/v0.2.3
96
+
97
+ $ git push origin releases/voyager/v0.2.3
98
+ Enumerating objects: 9, done.
99
+ Counting objects: 100% (9/9), done.
100
+ Delta compression using up to 16 threads
101
+ Compressing objects: 100% (5/5), done.
102
+ Writing objects: 100% (5/5), 721 bytes | 721.00 KiB/s, done.
103
+ Total 5 (delta 4), reused 0 (delta 0), pack-reused 0
104
+ remote: Resolving deltas: 100% (4/4), completed with 4 local objects.
105
+ remote:
106
+ remote: Create a pull request for 'releases/voyager/v0.2.3' on GitHub by visiting:
107
+ remote: https://github.com/mikemrm/charts/pull/new/releases/voyager/v0.2.3
108
+ remote:
109
+ To github.com:mikemrm/charts.git
110
+ * [new branch] releases/voyager/v0.2.3 -> releases/voyager/v0.2.3
111
+
112
+ $ git checkout main
113
+ Switched to branch 'main'
114
+
115
+ $ git pull origin main
116
+ remote: Enumerating objects: 1, done.
117
+ remote: Counting objects: 100% (1/1), done.
118
+ remote: Total 1 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0)
119
+ Unpacking objects: 100% (1/1), 905 bytes | 905.00 KiB/s, done.
120
+ From github.com:mikemrm/charts
121
+ * branch main -> FETCH_HEAD
122
+ 1c87390..75d9a5a main -> origin/main
123
+ Updating 1c87390..75d9a5a
124
+ Fast-forward
125
+ voyager/Chart.yaml | 2 +-
126
+ voyager/README.md | 4 ++--
127
+ 2 files changed, 3 insertions(+), 3 deletions(-)
128
+
129
+ $ git fetch origin
130
+
131
+ $ make CHART=voyager tag-release
132
+ Tag voyager/v0.1.3 is ready to be pushed.
133
+ Use git push origin --tags voyager/v0.1.3
134
+
135
+ $ git push origin --tags voyager/v0.1.3
136
+ Enumerating objects: 1, done.
137
+ Counting objects: 100% (1/1), done.
138
+ Writing objects: 100% (1/1), 161 bytes | 161.00 KiB/s, done.
139
+ Total 1 (delta 0), reused 0 (delta 0), pack-reused 0
140
+ To github.com:mikemrm/charts.git
141
+ * [new tag] voyager/v0.1.3 -> voyager/v0.1.3
83
142
~~~
0 commit comments