Skip to content

Commit

Permalink
ci: fix names
Browse files Browse the repository at this point in the history
  • Loading branch information
esauvisky authored Nov 13, 2023
1 parent 2846500 commit ec31830
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit ec31830

Please sign in to comment.