Bump version (Require LiteLoader v1.2.0+) #11
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "tagged-release" | |
on: | |
push: | |
tags: | |
- "v*" | |
jobs: | |
tagged-release: | |
name: "Tagged Release" | |
runs-on: "ubuntu-latest" | |
steps: | |
- name: "Checkout Repository" | |
uses: "actions/checkout@v4" | |
with: | |
fetch-depth: 16 # Ensure we can generate changelogs | |
- name: "Zip release files" # Only if the version has been updated | |
run: | | |
echo "Creating a release zip file..." | |
zip -r scriptio-release.zip icons/ main.js manifest.json preload.js renderer.js settings.html | |
echo "Done!" | |
- name: "Create Release" | |
uses: "marvinpinto/action-automatic-releases@latest" | |
with: | |
repo_token: "${{ secrets.GITHUB_TOKEN }}" | |
prerelease: false | |
files: | | |
scriptio-release.zip |