File tree Expand file tree Collapse file tree 4 files changed +77
-4
lines changed Expand file tree Collapse file tree 4 files changed +77
-4
lines changed Original file line number Diff line number Diff line change 35
35
runs-on : ubuntu-24.04
36
36
steps :
37
37
- name : Checkout
38
- uses : actions/checkout@v4
38
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
39
+ with :
40
+ submodules : true
41
+
42
+ - name : Fetch History
43
+ run : git fetch --prune --unshallow
39
44
40
45
- name : Setup Go
41
46
uses : actions/setup-go@v5
55
60
runs-on : ubuntu-24.04
56
61
steps :
57
62
- name : Checkout
58
- uses : actions/checkout@v4
63
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
64
+ with :
65
+ submodules : true
66
+
67
+ - name : Fetch History
68
+ run : git fetch --prune --unshallow
59
69
60
70
- name : Setup Go
61
71
uses : actions/setup-go@v5
@@ -90,7 +100,12 @@ jobs:
90
100
install : true
91
101
92
102
- name : Checkout
93
- uses : actions/checkout@v4
103
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
104
+ with :
105
+ submodules : true
106
+
107
+ - name : Fetch History
108
+ run : git fetch --prune --unshallow
94
109
95
110
# We ask Docker to use GitHub Action's native caching support to speed up
96
111
# the build, per https://docs.docker.com/build/cache/backends/gha/.
@@ -131,7 +146,12 @@ jobs:
131
146
- build
132
147
steps :
133
148
- name : Checkout
134
- uses : actions/checkout@v4
149
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
150
+ with :
151
+ submodules : true
152
+
153
+ - name : Fetch History
154
+ run : git fetch --prune --unshallow
135
155
136
156
- name : Download Single-Platform Packages
137
157
uses : actions/download-artifact@v4
Original file line number Diff line number Diff line change
1
+ name : Tag
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ inputs :
6
+ version :
7
+ description : ' Release version (e.g. v0.1.0)'
8
+ required : true
9
+ message :
10
+ description : ' Tag message'
11
+ required : true
12
+
13
+ jobs :
14
+ create-tag :
15
+ runs-on : blacksmith-2vcpu-ubuntu-2404
16
+
17
+ steps :
18
+ - name : Checkout
19
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
20
+
21
+ - name : Create Tag
22
+ uses : negz/create-tag@39bae1e0932567a58c20dea5a1a0d18358503320 # v1
23
+ with :
24
+ version : ${{ github.event.inputs.version }}
25
+ message : ${{ github.event.inputs.message }}
26
+ token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1
1
# function-openai
2
2
[ ![ CI] ( https://github.com/upbound/function-openai/actions/workflows/ci.yml/badge.svg )] ( https://github.com/upbound/function-openai/actions/workflows/ci.yml )
3
3
[ ![ Slack] ( https://img.shields.io/badge/slack-upbound_crossplane-purple?logo=slack )] ( https://crossplane.slack.com/archives/C01TRKD4623 )
4
+ [ ![ GitHub release] ( https://img.shields.io/github/release/upbound/function-openai/all.svg )] ( https://github.com/upbound/function-openai/releases )
4
5
5
6
Use natural language prompts to compose resources.
6
7
Original file line number Diff line number Diff line change
1
+ ## Release Process
2
+
3
+ This is a slimmed-down version of the release process described [ here] ( https://github.com/crossplane/release ) .
4
+
5
+ 1 . ** feature freeze** : Merge all completed features into main development branch
6
+ of all repos to begin "feature freeze" period.
7
+ 1 . ** branch repo** : Create a new release branch using the GitHub UI for the
8
+ repo (e.g. ` release-0.25 ` ).
9
+ 1 . ** tag release** : Run the ` Tag ` action on the _ release branch_ with the
10
+ desired version (e.g. ` v0.25.0 ` ).
11
+ 1 . ** build/publish** : Run the ` CI ` action on the tag.
12
+ 1 . ** tag next pre-release** : Run the ` tag ` action on the main development branch
13
+ with the ` -0.rc.0 ` for the next release (e.g. ` v0.26.0-0.rc.0 ` ). (** NOTE** :
14
+ we added the ` -0. ` prefix to allow correctly sorting release candidates)
15
+ 1 . ** verify** : Verify all artifacts have been published successfully, perform
16
+ sanity testing.
17
+ - Check in Upbound Marketplace that the new versions are present.
18
+ 1 . ** release notes** :
19
+ - Open the new release tag in https://github.com/upbound/function-openai/tags and click "Create
20
+ release from tag".
21
+ - "Generate release notes" from previous release ("auto" might not work).
22
+ - Make sure the release notes are complete, presize and well formatted.
23
+ - Publish the well authored Github release.
24
+ 1 . ** announce** : Announce the release on Twitter, Slack, etc.
25
+ - Crossplane Slack #Upbound: https://crossplane.slack.com/archives/C01TRKD4623
26
+ - TODO: where else?
You can’t perform that action at this time.
0 commit comments