Skip to content

Commit a1a4897

Browse files
authored
Merge pull request #567 from chmouel/use-tags-not-plural
2 parents 9129bdb + 0ebb629 commit a1a4897

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.goreleaser.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
before:
22
hooks:
3-
- /bin/sh -c "env TARGET_BRANCH={{.Tag}} PAC_VERSION={{.Tag}} TARGET_OPENSHIFT=true ./hack/generate-releaseyaml.sh > release.yaml"
4-
- /bin/sh -c "env TARGET_BRANCH={{.Tag}} PAC_VERSION={{.Tag}} ./hack/generate-releaseyaml.sh > release.k8s.yaml"
3+
- /bin/sh -c "env TARGET_BRANCH={{.Tag }} PAC_VERSION={{.Tag }} TARGET_OPENSHIFT=true ./hack/generate-releaseyaml.sh > release.yaml"
4+
- /bin/sh -c "env TARGET_BRANCH={{.Tag }} PAC_VERSION={{.Tag }} ./hack/generate-releaseyaml.sh > release.k8s.yaml"
55

66
builds:
77
- env:
@@ -40,9 +40,9 @@ release:
4040
- glob: ./release.k8s.yaml
4141
prerelease: true
4242
header: |
43-
# OpenShift Pipelines version {{.Tags}}
43+
# OpenShift Pipelines version {{.Tag}}
4444
45-
OpenShift Pipelines as Code patch version {{.Tags}} has been released 🥳
45+
OpenShift Pipelines as Code patch version {{.Tag }} has been released 🥳
4646
4747
TODO: XXXXX add high level changelog before setting this as released XXXXX
4848
@@ -52,17 +52,17 @@ release:
5252
5353
### Openshift
5454
```shell
55-
kubectl apply -f https://raw.githubusercontent.com/openshift-pipelines/pipelines-as-code/{{.Tags}}/release.yaml
55+
kubectl apply -f https://raw.githubusercontent.com/openshift-pipelines/pipelines-as-code/{{.Tag}}/release.yaml
5656
```
5757
### Kubernetes
5858
```shell
59-
kubectl apply -f https://raw.githubusercontent.com/openshift-pipelines/pipelines-as-code/{{.Tags}}/release.k8s.yaml
59+
kubectl apply -f https://raw.githubusercontent.com/openshift-pipelines/pipelines-as-code/{{.Tag}}/release.k8s.yaml
6060
```
6161
### Documentation
6262
6363
full install documentation is available here:
6464
65-
https://github.com/openshift-pipelines/pipelines-as-code/blob/{{.Tags}}/docs/install.md
65+
https://github.com/openshift-pipelines/pipelines-as-code/blob/{{.Tag}}/docs/install.md
6666
6767
brews:
6868
- name: tektoncd-pac

0 commit comments

Comments
 (0)