File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed
Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 2424 runs-on : ubuntu-22.04
2525 steps :
2626 - uses : actions/checkout@v6
27+ - name : Clone Picard
28+ run : |
29+ git clone --depth 500 --branch master "https://github.com/metabrainz/picard.git" source
30+ cd source
31+ git fetch --depth=1 origin "+refs/tags/release-*:refs/tags/release-*"
2732 - name : Install uv
2833 uses : astral-sh/setup-uv@v7
2934 - name : Install gettext
Original file line number Diff line number Diff line change @@ -8,10 +8,12 @@ SOURCE_DIR="$ROOT_DIR/source/"
88
99cd " $ROOT_DIR "
1010
11- [ ! -d " $SOURCE_DIR " ] || rm -rf " $SOURCE_DIR "
12- git clone --depth 500 --branch master " https://github.com/metabrainz/picard.git" " $SOURCE_DIR "
11+ if [ ! -d " $SOURCE_DIR " ]; then
12+ echo " Picard source code must be checked out in $SOURCE_DIR "
13+ exit 1
14+ fi
15+
1316pushd " $SOURCE_DIR "
14- git fetch --depth=1 origin " +refs/tags/release-*:refs/tags/release-*"
1517# patch -p1 < ../appimage/appimage.patch
1618uv sync
1719uv run ../patch-version.sh
You can’t perform that action at this time.
0 commit comments