Skip to content
This repository has been archived by the owner on Jun 1, 2022. It is now read-only.

Commit

Permalink
added minver in the workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
YogirajA committed Jul 27, 2020
1 parent fb264ec commit 085d206
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/azuredeployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 085d206

Please sign in to comment.