From ec31830b2b0db3417cd3ae4978335fe09e5bed89 Mon Sep 17 00:00:00 2001 From: emi~ Date: Sun, 12 Nov 2023 22:09:57 -0300 Subject: [PATCH] ci: fix names --- .github/workflows/main.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7b124f2..8ccbc73 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -23,9 +23,9 @@ jobs: ver=$(sed -n "s|^versionCode=||p" module.prop) name=$(sed -n "s|^name=||p" module.prop | sed "s| |-|g") newVersion=$(echo $ver | sed 's|\(.\)\(.\)\(.\)|\1.\2.\3|') - zip -r "${name}-${newVersion}.zip" . -x ".git/*" "LICENSE" "build.sh" ".gitignore" "*.zip" - echo "Made ${name}-${newVersion} ($ver)" - mv "${name}-${newVersion}.zip" "eMagisk-full-${ver}.zip" + zip -r "eMagisk-full-${newVersion}.zip" . -x ".git/*" "LICENSE" "build.sh" ".gitignore" "*.zip" + echo "Made eMagisk-full-${newVersion} ($ver)" + mv "eMagisk-full-${newVersion}.zip" "eMagisk-full-${ver}.zip" - name: "Checkout Standalone Branch" uses: actions/checkout@v3 @@ -37,9 +37,9 @@ jobs: ver=$(sed -n "s|^versionCode=||p" module.prop) name=$(sed -n "s|^name=||p" module.prop | sed "s| |-|g") newVersion=$(echo $ver | sed 's|\(.\)\(.\)\(.\)|\1.\2.\3|') - zip -r "${name}-${newVersion}.zip" . -x ".git/*" "LICENSE" "build.sh" ".gitignore" "*.zip" - echo "Made ${name}-${newVersion} ($ver)" - mv "${name}-${newVersion}.zip" "eMagisk-noatlas-${ver}.zip" + zip -r "eMagisk-noatlas-${newVersion}.zip" . -x ".git/*" "LICENSE" "build.sh" ".gitignore" "*.zip" + echo "Made eMagisk-noatlas-${newVersion} ($ver)" + mv "eMagisk-noatlas-${newVersion}.zip" "eMagisk-noatlas-${ver}.zip" - uses: "marvinpinto/action-automatic-releases@latest" with: