diff --git a/.github/workflows/auto-update.yml b/.github/workflows/auto-update.yml index 600e546d..e439ffba 100644 --- a/.github/workflows/auto-update.yml +++ b/.github/workflows/auto-update.yml @@ -44,6 +44,6 @@ jobs: with: title: Icons Release ID:${{ github.run_number }} body: Auto Update Icons ID:${{ github.run_number }} RUN_ID:${{ github.run_id }} - commit-message: feat:automated change Icons Release RUN_ID:${{ github.run_id }} + commit-message: feat:automated change Icons Release ID:${{ github.run_number }} base: main delete-branch: true diff --git a/.github/workflows/release-version.yml b/.github/workflows/release-version.yml new file mode 100644 index 00000000..4d67658d --- /dev/null +++ b/.github/workflows/release-version.yml @@ -0,0 +1,29 @@ +name: release version +on: + workflow_dispatch: + +permissions: + contents: write + issues: write + pull-requests: write + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Bump version and push tag + id: tag_version + uses: mathieudutour/github-tag-action@v6.1 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + release_branches: main + pre_release_branches: stage + default_prerelease_bump: false + tag_prefix: "v" + - name: Create a GitHub release + uses: ncipollo/release-action@v1 + with: + tag: ${{ steps.tag_version.outputs.new_tag }} + name: Release ${{ steps.tag_version.outputs.new_tag }} + body: ${{ steps.tag_version.outputs.changelog }} \ No newline at end of file diff --git a/README.md b/README.md index ff617c78..cb6060a7 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,11 @@ A package to easily make use of [tabler-icons](https://github.com/tabler/tabler- For a full list of available icons see [the SVG directory](resources/svg) or preview them at [tabler-icons.io](https://tabler-icons.io/). + +## Info of update Icons Release + +This repository check for a new Icons Release every week with Github Actions and make a pull request + ## Requirements - PHP 7.4 or higher