Skip to content

Commit

Permalink
Update build_packages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Elbakyan Shirak authored Oct 26, 2023
1 parent a4d43a0 commit e54d981
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/build_packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,17 +93,14 @@ jobs:
wget https://github.com/ONLYOFFICE/$PRODUCT-buildtools/archive/$BRANCH_BUILDTOOLS.tar.gz -O buildtools.tar.gz && tar -xvf buildtools.tar.gz
wget https://github.com/ONLYOFFICE/$PRODUCT-client/archive/$BRANCH_CLIENT.tar.gz -O client.tar.gz && tar -xvf client.tar.gz
wget https://github.com/ONLYOFFICE/$PRODUCT-server/archive/$BRANCH_SERVER.tar.gz -O server.tar.gz && tar -xvf server.tar.gz
wget https://github.com/ONLYOFFICE/document-templates/archive/main/community-server.tar.gz -O ./server/products/ASC.Files/Server/document-templates-main-community-server.tar.gz
tar -xvf ./server/products/ASC.Files/Server/document-templates-main-community-server.tar.gz
ls -ls
pwd
ls -la ./server/products/ASC.Files/Server/
mv $PRODUCT-buildtools-$(echo "$BRANCH_BUILDTOOLS" | tr '/' '-') buildtools
mv $PRODUCT-client-$(echo "$BRANCH_CLIENT" | tr '/' '-') client
mv $PRODUCT-server-$(echo "$BRANCH_SERVER" | tr '/' '-') server
wget https://github.com/ONLYOFFICE/document-templates/archive/main/community-server.tar.gz -O ./server/products/ASC.Files/Server/document-templates-main-community-server.tar.gz
tar -xvf ./server/products/ASC.Files/Server/document-templates-main-community-server.tar.gz
cd buildtools/install/deb/
rename -f -v "s/product([^\/]*)$/$(${{ env.PRODUCT_LOW }})\$1/g" debian/* ../common/* ../common/logrotate/*
find ../ -type f -exec sed -i "s/{{product}}/$(${{ env.PRODUCT_LOW }})/g" {} ';'
Expand Down

0 comments on commit e54d981

Please sign in to comment.