diff --git a/.github/ISSUE_TEMPLATE/custom.md b/.github/ISSUE_TEMPLATE/custom.md deleted file mode 100644 index d9484961..00000000 --- a/.github/ISSUE_TEMPLATE/custom.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -name: Autogen Notice -about: Notices the issue opener that this repo contains autogenerated code -title: '' -labels: '' -assignees: '' - ---- - -Hi! Thank you for opening up an issue with us! This repo contains autogenerated code, and changes need to be on our upstream source. Please open a [support ticket](https://support.bandwidth.com/) to reach out to us! diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md deleted file mode 100644 index 46e054e7..00000000 --- a/.github/pull_request_template.md +++ /dev/null @@ -1 +0,0 @@ -Hi! Thank you for opening a pull request! Unfortunately, this repo contains autogenerated code so your change will be lost in the next update. Please open a [support ticket](https://support.bandwidth.com/) to reach out to us! diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 958bb7b1..3422e6f5 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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 }}