Skip to content

Commit abd9c2d

Browse files
committed
Remove python fix
1 parent 657a736 commit abd9c2d

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -49,17 +49,9 @@ jobs:
4949
- name: Download Specification
5050
run: wget "${SPEC_URL}" '--output-document' "${ARTIFACT_NAME}"
5151

52-
- name: Set version
53-
id: version
54-
run: |
55-
# Replace using bash
56-
VERSION="${PASSED_VERSION}${VERSION_POSTPEND}"
57-
CLEAN_VERSION="${VERSION/-nightly./.dev}"
58-
echo "version=${CLEAN_VERSION}" >> $GITHUB_OUTPUT
59-
6052
- name: Apply Version Postpend
6153
if: ${{ github.event_name == 'workflow_dispatch' && inputs.version_postfix != '' }}
62-
run: yq '--inplace' ".info.version |= \"${{ steps.version.outputs.version }}\"" "${ARTIFACT_NAME}"
54+
run: yq '--inplace' ".info.version |= \"${{ env.PASSED_VERSION}}${{ env.VERSION_POSTPEND }}\"" "${ARTIFACT_NAME}"
6355

6456
- name: Generate SDK Client
6557
run: bash ./generate.sh "${ARTIFACT_NAME}"
@@ -69,8 +61,8 @@ jobs:
6961
with:
7062
branch: main
7163
folder: .
72-
commit-message: "Upgrade Java SDK to spec ${{ steps.version.outputs.version }}"
73-
tag: ${{ steps.version.outputs.version }}
64+
commit-message: "Upgrade Java SDK to spec ${{ env.PASSED_VERSION}}${{ env.VERSION_POSTPEND }}"
65+
tag: ${{ env.PASSED_VERSION}}${{ env.VERSION_POSTPEND }}
7466

7567
# gradle:
7668
# runs-on: ubuntu-latest

0 commit comments

Comments
 (0)