From 0e9b1875435a5f6e384706ba9c78c5fd193f6c01 Mon Sep 17 00:00:00 2001 From: Dragos Mateescu Date: Mon, 7 Jun 2021 15:41:26 +0300 Subject: [PATCH] create an automatic versioning release --- .github/workflows/github-actions.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml index dfff7d302..bb94ea60b 100644 --- a/.github/workflows/github-actions.yml +++ b/.github/workflows/github-actions.yml @@ -1,14 +1,14 @@ --- -name: "pre-release" +name: "tagged-release" on: push: - branches: - - "main" + tags: + - "v*" jobs: - pre-release: - name: "Pre Release" + tagged-release: + name: "Tagged Release" runs-on: "ubuntu-latest" steps: @@ -20,9 +20,7 @@ jobs: - uses: "marvinpinto/action-automatic-releases@latest" with: repo_token: "${{ secrets.GITHUB_TOKEN }}" - automatic_release_tag: "latest" - prerelease: true - title: "Development Build" + prerelease: false files: | LICENSE.txt *.jar