diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index db282a2..3aadcd1 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -66,21 +66,6 @@ jobs: echo "value=true" >> $GITHUB_OUTPUT fi - - name: Update OpenRemote version in gradle/libs.versions.toml - if: ${{ github.event_name != 'pull_request' && github.event_name == 'workflow_dispatch' }} - run: | - CURRENT=$(grep '^openremote = ' gradle/libs.versions.toml | sed -E 's/^openremote = "([^\"]+)".*/\1/' | head -n 1) - if [ "$CURRENT" != "$VERSION" ]; then - sed -i "s/^openremote = .*/openremote = \"$VERSION\"/" gradle/libs.versions.toml - git add gradle/libs.versions.toml - git -c user.name="github-actions[bot]" -c user.email="github-actions[bot]@users.noreply.github.com" commit -m "Update OpenRemote version to $VERSION [skip ci]" - git push - else - echo "Version unchanged, skipping commit." - fi - env: - VERSION: ${{ inputs.version }} - - name: Run installDist timeout-minutes: 20 run: ./gradlew installDist