Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down