Skip to content

Commit

Permalink
( semver: fix) Trim v from version
Browse files Browse the repository at this point in the history
  • Loading branch information
thzinc committed Nov 24, 2021
1 parent a9c80c4 commit ea954af
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions makefile
Original file line number Diff line number Diff line change
@@ -1,10 1,11 @@
export VERSION ?= $(shell gogitver)
export ASSEMBLY_VERSION ?= $(shell echo $(VERSION) | sed -e "s/^v//")
build:
dotnet restore
dotnet publish --configuration Release /property:Version=$(VERSION) --self-contained --runtime osx-x64 --output artifacts/darwin
dotnet publish --configuration Release /property:Version=$(VERSION) --self-contained --runtime linux-x64 --output artifacts/linux
dotnet publish --configuration Release /property:Version=$(VERSION) --self-contained --runtime linux-arm --output artifacts/arm
dotnet publish --configuration Release /property:Version=$(VERSION) --self-contained --runtime win-x64 --output artifacts/windows
dotnet restore /property:Version=$(ASSEMBLY_VERSION)
dotnet publish --configuration Release /property:Version=$(ASSEMBLY_VERSION) --self-contained --runtime osx-x64 --output artifacts/darwin
dotnet publish --configuration Release /property:Version=$(ASSEMBLY_VERSION) --self-contained --runtime linux-x64 --output artifacts/linux
dotnet publish --configuration Release /property:Version=$(ASSEMBLY_VERSION) --self-contained --runtime linux-arm --output artifacts/arm
dotnet publish --configuration Release /property:Version=$(ASSEMBLY_VERSION) --self-contained --runtime win-x64 --output artifacts/windows

package: build
tar -C artifacts/darwin -zcf artifacts/darwin.tar.gz GtfsXlsxCli
Expand Down

0 comments on commit ea954af

Please sign in to comment.