diff --git a/.github/workflows/auto_release.yaml b/.github/workflows/auto_release.yaml index 78a9cd6..4c490ef 100644 --- a/.github/workflows/auto_release.yaml +++ b/.github/workflows/auto_release.yaml @@ -1,24 +1,21 @@ -name: "release" +# Name of the workflow +name: Release +# Run on every commit tag which begins with "v" (e.g., "v0.1.4") on: push: - branches: - - "main" + tags: + - "v*" +# Automatically create a GitHub Release, with release details specified (the relevant commits) jobs: - pre-release: + release: name: "Release" runs-on: "ubuntu-latest" - steps: - # ... - - name: "Build & test" - run: | - echo "done!" - - uses: "marvinpinto/action-automatic-releases@latest" with: repo_token: "${{ secrets.GITHUB_TOKEN }}" - automatic_release_tag: "latest" - prerelease: true - title: "POC_MLOps_Covid_Probability_Infection_Checker" + prerelease: false + title: "Development Build" +