File tree Expand file tree Collapse file tree 3 files changed +10
-7
lines changed
docs/content/contributing Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,10 @@ This project uses [release-please] to automate changelog updates per release. Du
10
10
[ release-please-action] .
11
11
12
12
When a release has been cut, a new release PR can be created manually using the ` release-please ` CLI locally. This needs
13
- to be run by someone with write permissions to the repository. Create the ` release-please ` branch and PR:
13
+ to be run by someone with write permissions to the repository.
14
+ The new release PR can be only created against ` main ` or ` release/* ` branch.
15
+ Ensure to checkout ` main ` or ` release/* ` branch locally.
16
+ Create the ` release-please ` branch and PR from ` main ` or ` release/* ` branch:
14
17
15
18
``` shell
16
19
make release-please
Original file line number Diff line number Diff line change @@ -45,11 +45,11 @@ dev.update-bootstrap-credentials-aws:
45
45
46
46
.PHONY : release-please
47
47
release-please :
48
- ifneq ($(GIT_CURRENT_BRANCH ) ,main)
49
- $(error "release-please should only be run on the main branch")
48
+ # filter Returns all whitespace-separated words in text that do match any of the pattern words.
49
+ ifeq ($(filter main release/v% ,$(GIT_CURRENT_BRANCH ) ) ,)
50
+ $(error "release-please should only be run on the main or release branch")
50
51
else
51
- release-please release-pr \
52
- --repo-url $(GITHUB_ORG)/$(GITHUB_REPOSITORY) --token "$$(gh auth token)"
52
+ release-please release-pr --repo-url $(GITHUB_ORG)/$(GITHUB_REPOSITORY) --target-branch $(GIT_CURRENT_BRANCH) --token "$$(gh auth token)"
53
53
endif
54
54
55
55
.PHONY : .envrc.e2e
Original file line number Diff line number Diff line change @@ -134,8 +134,8 @@ providers:
134
134
- name : caren
135
135
type : RuntimeExtensionProvider
136
136
versions :
137
- - name : " {go://github.com/nutanix-cloud-native/cluster-api-runtime-extensions-nutanix@v0.14 }"
138
- value : " https://github.com/nutanix-cloud-native/cluster-api-runtime-extensions-nutanix/releases/download/{go://github.com/nutanix-cloud-native/cluster-api-runtime-extensions-nutanix@v0.14 }/runtime-extension-components.yaml"
137
+ - name : " {go://github.com/nutanix-cloud-native/cluster-api-runtime-extensions-nutanix@v0.15 }"
138
+ value : " https://github.com/nutanix-cloud-native/cluster-api-runtime-extensions-nutanix/releases/download/{go://github.com/nutanix-cloud-native/cluster-api-runtime-extensions-nutanix@v0.15 }/runtime-extension-components.yaml"
139
139
type : " url"
140
140
contract : v1beta1
141
141
files :
You can’t perform that action at this time.
0 commit comments