Skip to content

Commit

Permalink
sanitize version numbers for alpha releases
Browse files Browse the repository at this point in the history
  • Loading branch information
floyd-may committed Dec 30, 2020
1 parent c5ca671 commit 405341a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ jobs:
- run:
name: Pack
command:
dotnet pack OttoTheGeek -p:PackageVersion=$CIRCLE_TAG -p:Version=$CIRCLE_TAG -p:AssemblyVersion=$CIRCLE_TAG -o .
SANITIZED_VERSION=`echo $CIRCLE_TAG | sed "s/-alpha//"`
dotnet pack OttoTheGeek -p:PackageVersion=$CIRCLE_TAG -p:Version=$CIRCLE_TAG -p:AssemblyVersion=$SANITIZED_VERSION -o .
- run:
name: Publish
command:
Expand Down

0 comments on commit 405341a

Please sign in to comment.