Skip to content

Commit

Permalink
Update packages.yml for version 3.0.1
Browse files Browse the repository at this point in the history
The packages.yml workflow file has been updated to target the v3.0.1 branch instead of main. The version also has been updated from 3.0.0 to 3.0.1 in the version prediction logic. Hotfix tags usage has been removed.
  • Loading branch information
sfmskywalker committed Jan 3, 2024
1 parent 2884969 commit f89641d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ on:
workflow_dispatch:
push:
branches:
- main
tags:
- hotfix-* # e.g. 3.0.0-hotfix-1
- v3.0.1
release:
types: [ prereleased, published ]
env:
Expand All @@ -31,7 +29,7 @@ jobs:
TAG_NAME=${TAG_NAME#refs/tags/} # remove the refs/tags/ prefix
echo "VERSION=${TAG_NAME}" >> $GITHUB_ENV
else
echo "VERSION=3.0.0-preview.${{github.run_number}}" >> $GITHUB_ENV
echo "VERSION=3.0.1-preview.${{github.run_number}}" >> $GITHUB_ENV
fi
- name: Build
run: dotnet build --configuration Release /p:Version=${VERSION}
Expand Down

0 comments on commit f89641d

Please sign in to comment.