diff --git a/.github/workflows/azuredeployment.yml b/.github/workflows/azuredeployment.yml index f2706a7..b1c0367 100644 --- a/.github/workflows/azuredeployment.yml +++ b/.github/workflows/azuredeployment.yml @@ -26,6 +26,15 @@ jobs: echo checking out $latesttag git checkout $latesttag shell: pwsh + - name: run minver + id: version + uses: thefringeninja/action-minver@2.0.0-preview1 + with: + # Optional. Specifies the minimum version to use when no tags exist. + minimum-major-minor: 1.4.0 + - name: output + run: | + echo ${{ steps.version.outputs.version }} - name: AzureDB uses: microsoft/variable-substitution@v1 with: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2682d21..a74251d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,9 +2,9 @@ name: CI on: push: - branches: [ develop, main ] + branches: [ feature/devops-e2e-deployment, develop, main ] pull_request: - branches: [ develop, main ] + branches: [ feature/devops-e2e-deployment, develop, main ] jobs: build: @@ -29,8 +29,8 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: ${{ github.run_id }} - release_name: Release ${{ github.run_id }} + tag_name: 1.4.${{ github.run_number }}-apha + release_name: Release ${{ github.run_number }} body: | Changes in this Release - First Change