Skip to content

Commit

Permalink
Update GitHub Actions workflow for new release
Browse files Browse the repository at this point in the history
The GitHub Actions workflow configuration has been updated to target the '3.0.1' branch instead of 'main'. Furthermore, the preview version set in the workflow has been updated to '3.0.1-preview', changing from the previous '3.0.0-preview'.
  • Loading branch information
sfmskywalker committed Jan 6, 2024
1 parent 7c632a5 commit 6baaa2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
workflow_dispatch:
push:
branches:
- main
- 3.0.1
tags:
- hotfix-* # e.g. 3.0.0-hotfix-1
release:
Expand Down Expand Up @@ -31,7 +31,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 6baaa2a

Please sign in to comment.