File tree 1 file changed +12
-0
lines changed
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 37
37
default : true
38
38
type : boolean
39
39
40
+ version_suffix :
41
+ description : " Version Suffix"
42
+ required : false
43
+ type : string
44
+
40
45
permissions :
41
46
contents : write
42
47
deployments : write
85
90
86
91
COMPONENT_NAMES : ${{ github.event.inputs.components || needs.get-component-names.outputs.components }}
87
92
93
+ VERSION_SUFFIX : ${{ github.event.inputs.version_suffix || '' }}
94
+
88
95
outputs :
89
96
components : ${{ steps.build-components.outputs.components }}
90
97
version : ${{ steps.version.outputs.version }}
@@ -125,6 +132,11 @@ jobs:
125
132
VERSION="$VERSION-dev"
126
133
fi
127
134
135
+ # If we have a version suffix, append it
136
+ if [ -n "${{ env.VERSION_SUFFIX }}" ]; then
137
+ VERSION="$VERSION${{ env.VERSION_SUFFIX }}"
138
+ fi
139
+
128
140
echo "version=$VERSION" >> $GITHUB_OUTPUT
129
141
130
142
- name : Build Components
You can’t perform that action at this time.
0 commit comments