File tree Expand file tree Collapse file tree 1 file changed +4
-16
lines changed
incubating/octopusdeploy-create-release Expand file tree Collapse file tree 1 file changed +4
-16
lines changed Original file line number Diff line number Diff line change @@ -117,26 +117,14 @@ spec:
117
117
"definitions": {},
118
118
"$schema": "http://json-schema.org/draft-07/schema#",
119
119
"type": "object",
120
- "additionalProperties": true,
121
120
"patterns": [],
122
121
"required": [
123
122
"RELEASE"
124
123
],
125
124
"properties": {
126
125
"RELEASE": {
127
- "additionalProperties": true,
128
- "type": "object",
129
- "description": "The release that was created",
130
- "properties": {
131
- "Channel": {
132
- "type": "string",
133
- "description": "The channel for this release"
134
- },
135
- "Version": {
136
- "type": "string",
137
- "description": "The version of this release"
138
- }
139
- }
126
+ "type": "string",
127
+ "description": "The release version that was created"
140
128
}
141
129
}
142
130
}
@@ -148,11 +136,11 @@ spec:
148
136
commands:
149
137
- OUTPUT=$(octopus release create
150
138
--project "[[.Arguments.PROJECT]]"
151
- --version "[[.Arguments.RELEASE_NUMBER]]"
152
139
--no-prompt
153
- --output-format json
140
+ --output-format basic
154
141
[[- if .Arguments.PACKAGE_VERSION ]] --package-version "[[ .Arguments.PACKAGE_VERSION ]]" [[ end ]]
155
142
[[- range $val := .Arguments.PACKAGES ]] --package "[[ $val ]]" [[ end ]]
143
+ [[- if .Arguments.RELEASE_NUMBER ]] --version "[[ .Arguments.RELEASE_NUMBER ]]" [[ end ]]
156
144
[[- if .Arguments.CHANNEL ]] --channel "[[ .Arguments.CHANNEL ]]" [[ end ]]
157
145
[[- if .Arguments.GIT_REF ]] --git-ref "[[ .Arguments.GIT_REF ]]" [[ end ]]
158
146
[[- if .Arguments.GIT_COMMIT ]] --git-commit "[[ .Arguments.GIT_COMMIT ]]" [[ end ]]
You can’t perform that action at this time.
0 commit comments