Skip to content

rls

rls #1

Workflow file for this run

name: rls
on: workflow_dispatch
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Writing the variables
run: cat ./module.prop | tee -a "$GITHUB_ENV"
- name: Compressing
run: |
zip -rv9 ./abootloop.zip ./* -x ./.git ./.github ./README.md \
./update.json ./changelog.md
- name: Releasing
env:
GH_TOKEN: ${{ github.token }}
run: gh release create "$version" ./abootloop.zip -F ./changelog.md
- name: Updating service files
run: |
python3 ./.github/mkjson "$version" "$versionCode" "$zipUrl" "$changelog"
git config user.name 'github-actions[bot]'
git config user.email '41898282+github-actions[bot]@users.noreply.github.com'
git add ./update.json
git commit -m 'JSON update'
git push