We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 550cc6a + 397f55b commit ffa6bcbCopy full SHA for ffa6bcb
.gitignore
@@ -11,3 +11,4 @@ project.lock.json
11
/publish/*.bat
12
.vs/
13
.idea
14
+artifacts/
pack.sh
@@ -1,4 +1,9 @@
1
-VERSION=$(git tag --sort=committerdate | tail -1)
2
-dotnet build /p:version=$VERSION -c Release Enyim.Caching
3
-dotnet pack -c Release /p:version=$VERSION Enyim.Caching
+#!/bin/bash
+set -e
4
+[ -z $1 ] && echo "Missing version" && exit 1
5
+
6
+version=$1
7
+project=Enyim.Caching
8
+dotnet build -p:version=$version -c Release $project
9
+dotnet pack $project -c Release -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg --include-source -p:Version=$version -o ./artifacts
0 commit comments