Skip to content

Commit b34fa56

Browse files
authored
chore: add a note on how to release a snapshot SDK on the old actions (#673)
1 parent 2330b72 commit b34fa56

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/generator-main.yaml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@ on:
66
description: 'SDK Name'
77
required: true
88
version:
9-
description: 'SDK Version'
9+
description: |
10+
SDK Version
11+
12+
⚠️ For a snapshot version, append `-SNAPSHOT` to the version number, in the format `1.0.0-SNAPSHOT`,
13+
in addition to not selecting the `Release to production` option below.
1014
required: true
1115
endpoint_prefix:
1216
description: 'Endpoint to prepend specs paths with'
@@ -17,7 +21,11 @@ on:
1721
required: true
1822
type: string
1923
production_release:
20-
description: 'Release to production'
24+
description: |
25+
Release to production
26+
27+
⚠️ Please ensure that the version number includes the `-SNAPSHOT` suffix if this option is not selected,
28+
otherwise the SDK will be published to Maven Central (production).
2129
required: true
2230
type: boolean
2331
default: false

0 commit comments

Comments
 (0)