Skip to content

Commit

Permalink
Merge pull request #1175 from nextcloud/update-build
Browse files Browse the repository at this point in the history
updated build process
  • Loading branch information
tacruc authored Dec 12, 2023
2 parents d69b9e5 + 8f2a173 commit b4cce34
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
- name: Get current tag
id: tag
run: |
git checkout release
git fetch --tags --force
tag=$(git tag -l --points-at HEAD)
vtag=$(echo $tag | grep "^v[0-9]\+\.[0-9]\+\.[0-9]\+" || echo "")
Expand All @@ -56,7 +57,7 @@ jobs:
sudo apt install make openssl -y
echo "###### installing nextcloud"
mkdir ~/html
git clone https://github.com/nextcloud/server.git --recursive --depth 1 -b v27.0.0 ~/html/nextcloud
git clone https://github.com/nextcloud/server.git --recursive --depth 1 -b v28.0.0 ~/html/nextcloud
sed -i $'s|if (substr($fullPath, 0, strlen($root) + 1) === $root . \'/\')|if (is_string($root) and substr($fullPath, 0, strlen($root) + 1) === $root . \'/\')|g' ~/html/nextcloud/lib/autoloader.php
cp -r $GITHUB_WORKSPACE ~/html/nextcloud/apps/${APP_ID}
php ~/html/nextcloud/occ maintenance:install --database "sqlite" --admin-user "admin" --admin-pass "password"
Expand Down

0 comments on commit b4cce34

Please sign in to comment.