diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 0000000..65542b2 --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,28 @@ +name: Build and Release + +on: + push: + tags: + - "*.*.*" + workflow_dispatch: + +permissions: + contents: write + +jobs: + release: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v5 + with: + fetch-depth: 0 + - name: Generate release notes + run: git log $(git describe --tags --abbrev=0 HEAD~1)..HEAD --oneline > changelog.txt + - name: Release + uses: softprops/action-gh-release@v2 + with: + make_latest: true + body_path: changelog.txt + files: SugoiFontOptions.js + overwrite_files: false \ No newline at end of file