Skip to content

Commit

Permalink
Task/deploy with tag version (#6)
Browse files Browse the repository at this point in the history
* Update package version based on the release tag

* Remove auto issue template
  • Loading branch information
hamermike authored Dec 7, 2020
1 parent 0e728e3 commit 57c033e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 12 deletions.
10 changes: 0 additions & 10 deletions .github/ISSUE_TEMPLATE/custom.md

This file was deleted.

1 change: 0 additions & 1 deletion .github/pull_request_template.md

This file was deleted.

4 changes: 3 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set release version
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/v}" >> $GITHUB_ENV
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '2.2.x'
- name: Pack NuGet package
run: dotnet pack --configuration Release $BW_PROJECT_NAME
run: dotnet pack --configuration Release $BW_PROJECT_NAME -p:PackageVersion=$RELEASE_VERSION
- name: Publish NuGet package
env:
NUGET_KEY: ${{ secrets.NUGET_KEY }}
Expand Down

0 comments on commit 57c033e

Please sign in to comment.