Skip to content

Commit 8419707

Browse files
committed
update docs
Signed-off-by: Jordan Dubrick <[email protected]>
1 parent 537137f commit 8419707

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

README.md

+7
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,13 @@ Releases are available on [GitHub](https://github.com/devfile/registry-operator/
2323

2424
For more updates on releases, please join our [communication channels](https://devfile.io/docs/2.2.2/community#getting-involved).
2525

26+
## Preparing Releases
27+
A script has been created to make the release process more efficient. This script takes care of all changes to version numbers in all necessary files. Additionally this script opens the initial PR to devfile/registry-operator. The release engineer will be responsible for running this script with the instructions below.
28+
29+
1. Navigate to main branch of your forked registry-operator repository.
30+
2. Run `make release new-version=x.x.x` where x.x.x is the version you are trying to cut.
31+
3. Edit the PR opened by the script on devfile/registry-operator to include a proper description.
32+
2633
## Issue Tracking
2734

2835
Issue tracking repo: https://github.com/devfile/api with label area/registry

make-release.sh

+4-5
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@ checkoutToReleaseBranch() {
7272
echo "[INFO] Checking out to $SCHEMA_VERSION branch."
7373
if git ls-remote -q --heads | grep -q $SCHEMA_VERSION ; then
7474
echo "[INFO] $SCHEMA_VERSION exists."
75-
resetChanges $SCHEMA_VERSION --- commented out so it doesnt delete my work when testing
75+
resetChanges $SCHEMA_VERSION
7676
else
7777
echo "[INFO] $SCHEMA_VERSION does not exist. Will create a new one from main."
78-
resetChanges release-automation --- commented out so it doesnt delete my work when testing #change release-automation to main after testing
78+
resetChanges release-automation #change release-automation to main after testing
7979
git push origin release-automation:$SCHEMA_VERSION
8080
fi
8181
git checkout -B $SCHEMA_VERSION
@@ -134,19 +134,18 @@ verifyReleaseBranch() {
134134

135135
createPullRequest(){
136136
echo "[INFO] Creating a PR"
137-
hub pull-request --base jdubrick:${RELEASE_BRANCH} --head ${SCHEMA_VERSION} -m "$1"
137+
hub pull-request --base jdubrick:${RELEASE_BRANCH} --head ${SCHEMA_VERSION} -m "$1" #jdubrick changes to devfile
138138
}
139139

140140
main(){
141+
#setUpstream -- LEAVE COMMENTED AS THIS WILL SET MY ORIGIN TO DEVFILE
141142
checkoutToReleaseBranch
142143
updateVersionNumbers
143144
exportEnvironmentVariables
144145
make bundle
145146
commitChanges "chore(release): release version ${SCHEMA_VERSION}"
146147
verifyReleaseBranch
147148
createPullRequest "v${SCHEMA_VERSION} Release"
148-
149-
#setUpstream -- LEAVE COMMENTED AS THIS WILL SET MY ORIGIN TO DEVFILE
150149
}
151150

152151
main

0 commit comments

Comments
 (0)