Skip to content

Commit

Permalink
fix(ci): Re-add version param to build with mono step (#1926)
Browse files Browse the repository at this point in the history
* fix(ci): Re-add version param to build with mono step

* fix(ci): missing SEMVER variable

Co-authored-by: Matteo Cominetti <[email protected]>
  • Loading branch information
AlanRynne and teocomi authored Nov 26, 2022
1 parent cdfe001 commit 4939575
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .circleci/scripts/config-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,9 @@ jobs: # Each project will have individual jobs for each specific task it has to
- run:
name: Build << parameters.slnname >>
command: |
msbuild << parameters.slnname >>/<< parameters.slnname >>.sln /r /p:Configuration='<< parameters.build-config >>' /p:WarningLevel=0 /p:IsDesktopBuild=false
TAG=$(if [ "${CIRCLE_TAG}" ]; then echo $CIRCLE_TAG; else echo "2.0.999"; fi;)
SEMVER=$(echo "$TAG" | sed -e 's/\/[a-zA-Z-]*//')
msbuild << parameters.slnname >>/<< parameters.slnname >>.sln /r /p:Configuration='<< parameters.build-config >>' /p:WarningLevel=0 /p:IsDesktopBuild=false /p:Version=$SEMVER
# Compress build files
- run:
name: Zip Objects Kit files
Expand Down

0 comments on commit 4939575

Please sign in to comment.