Some checks failed
Research feed publisher tests / test (push) Failing after 3s
Release / Pre-flight checks (push) Failing after 0s
Release / Research Edition — patch and packaging smoke tests (push) Has been skipped
Release / Build Qt artifacts (false, 22, ubuntu-22.04, 3.9, ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}, false, false) (push) Has been skipped
Release / Build Qt artifacts (false, 22, ubuntu-22.04, 3.9, false, false, false) (push) Has been skipped
Release / Build Qt artifacts (manylinux_2_28 — glibc 2.28 ABI floor) (22, 3.9) (push) Has been skipped
Release / Generate release notes (push) Has been skipped
Release / Create dev release tag (push) Has been skipped
CodeQL / Analyze (javascript) (push) Failing after 1s
CodeQL / Analyze (python) (push) Failing after 1s
Release / Build Qt artifacts (false, 22, windows-latest, 3.9, false, false, false) (push) Has been cancelled
Release / Build Tauri artifacts (false, 22, macos-15-intel, 3.9, false, false, false) (push) Has been cancelled
Release / Build Tauri artifacts (false, 22, macos-latest, 3.9, false, false, false) (push) Has been cancelled
Release / Build Tauri artifacts (false, 22, ubuntu-24.04, 3.9, ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}, false, false) (push) Has been cancelled
Release / Build Tauri artifacts (false, 22, ubuntu-24.04, 3.9, false, false, false) (push) Has been cancelled
Release / Build Tauri artifacts (false, 22, ubuntu-24.04-arm, 3.9, false, false, false) (push) Has been cancelled
Release / Build Tauri artifacts (false, 22, windows-latest, 3.9, false, false, false) (push) Has been cancelled
Release / Build Qt artifacts (false, 22, macos-15-intel, 3.9, false, false, false) (push) Has been cancelled
Release / Build Qt artifacts (false, 22, macos-latest, 3.9, false, false, false) (push) Has been cancelled
Release / Publish draft release (push) Has been cancelled
31 lines
721 B
Bash
Executable File
Vendored
31 lines
721 B
Bash
Executable File
Vendored
#!/bin/bash
|
|
|
|
# Update dependency locks for each submodule in the activitywatch repo
|
|
|
|
set -e
|
|
set -x
|
|
|
|
# For submodule in submodules:
|
|
for submodule in $(git submodule | sed 's/^[+ ]//' | cut -d' ' -f2); do
|
|
# Go to submodule
|
|
cd $submodule
|
|
|
|
# Check that we're on the master branch and latest commit
|
|
if [ $(git rev-parse --abbrev-ref HEAD) != "master" ]; then
|
|
echo "Submodule $submodule is not on master branch, aborting"
|
|
exit 1
|
|
fi
|
|
|
|
# Update dependency locks
|
|
# Use poetry if poetry.lock exists, or cargo if Cargo.toml exists
|
|
if [ -f "poetry.lock" ]; then
|
|
poetry update
|
|
elif [ -f "Cargo.toml" ]; then
|
|
cargo update
|
|
fi
|
|
|
|
# Go back to root
|
|
cd ..
|
|
done
|
|
|