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 Nov 2, 2023
1 parent 96286bc commit 33caa16
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions .github/workflows/build_packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,25 +101,14 @@ jobs:
wget https://github.com/ONLYOFFICE/dictionaries/archive/master.tar.gz -O ./client/common/Tests/Frontend.Translations.Tests/dictionaries.tar.gz
wget https://github.com/ONLYOFFICE/document-templates/archive/main/community-server.tar.gz -O ./server/products/ASC.Files/Server/DocStore.tar.gz
rm -rf ./client/common/Tests/Frontend.Translations.Tests/dictionaries ./server/products/ASC.Files/Server/DocStore
rm -rf ./client/common/Tests/Frontend.Translations.Tests/dictionaries ./server/products/ASC.Files/Server/DocStore packages-microsoft-prod.deb *.tar.gz
tar -xvf ./server/products/ASC.Files/Server/DocStore.tar.gz -C ./server/products/ASC.Files/Server
tar -xvf ./client/common/Tests/Frontend.Translations.Tests/dictionaries.tar.gz -C ./client/common/Tests/Frontend.Translations.Tests
mv ./client/common/Tests/Frontend.Translations.Tests/dictionaries-master ./client/common/Tests/Frontend.Translations.Tests/dictionaries
mv ./server/products/ASC.Files/Server/document-templates-main-community-server ./server/products/ASC.Files/Server/DocStore
rm -rf packages-microsoft-prod.deb *.tar.gz
echo "./server/products/ASC.Files/Server/DocStore"
ls -la ./server/products/ASC.Files/Server/DocStore
ls -la ./client/common/Tests/Frontend.Translations.Tests
echo "./client/common/Tests/Frontend.Translations.Tests"
ls -la ./server/products/ASC.Files/Server
echo "./server/products/ASC.Files/Server"
ls -la
cd buildtools/install/deb/
echo "../../../"
ls -la ../../../
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" {} ';'
sed -i "s/{{package_header_tag_version}}/$(${{ env.PRODUCT_VERSION }}).${{ env.BUILD_NUMBER }}/g" debian/changelog debian/control
Expand Down

0 comments on commit 33caa16

Please sign in to comment.