From bdd64f922af11e9592f830f6a977ad4493ab5147 Mon Sep 17 00:00:00 2001 From: Ren Tatsumoto Date: Mon, 18 Mar 2024 18:00:09 +0300 Subject: [PATCH] update .github --- .github/ISSUE_TEMPLATE/config.yml | 13 ++++++++++ .github/workflows/make_release.yml | 38 ++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/workflows/make_release.yml diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..54f5b38 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,13 @@ +blank_issues_enabled: false +contact_links: + - name: Bug Reports + url: https://tatsumoto.neocities.org/blog/join-our-community + about: This issue tracker is for developers. Please report any bugs you encounter over in the chats, and they will be triaged there. + + - name: Questions/Support + url: https://tatsumoto.neocities.org/blog/join-our-community + about: If you have a question or need support, please post in the community chats. + + - name: Feature Requests/Suggestions + url: https://tatsumoto.neocities.org/blog/join-our-community + about: Please post suggestions and feature requests in our chat. diff --git a/.github/workflows/make_release.yml b/.github/workflows/make_release.yml new file mode 100644 index 0000000..92f7c88 --- /dev/null +++ b/.github/workflows/make_release.yml @@ -0,0 +1,38 @@ +name: "tagged-release" + +on: + push: + tags: + - "v*" + +jobs: + tagged-release: + name: "Tagged Release" + runs-on: "ubuntu-latest" + permissions: + contents: write + + steps: + - name: "Checkout" + uses: actions/checkout@v4 + with: + fetch-depth: 1 + submodules: "recursive" + + - name: Install zipmerge + run: | + sudo apt-get install -y zipmerge + + - name: "Create zip" + run: | + ./package.sh --target github + + - name: "Create release" + uses: softprops/action-gh-release@v2 + with: + prerelease: false + make_latest: true + generate_release_notes: true + name: "Merge Notes ${{github.ref_name}}" + files: | + *.ankiaddon