Skip to content
This repository was archived by the owner on Apr 20, 2023. It is now read-only.

Commit bd6519d

Browse files
committed
unify versions on binaries and nupkgs
1 parent c701a1a commit bd6519d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ LAST_COMMIT_TIMESTAMP=$(git log -1 --format=%ct)
4343
major=1
4444
minor=0
4545
# no. of days since epoch
46-
build=$(($LAST_COMMIT_TIMESTAMP/3600/24))
46+
build=0
4747
revision=$LAST_COMMIT_TIMESTAMP
4848

4949
export DOTNET_BUILD_VERSION=$major.$minor.$build.$revision

scripts/build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ if (!$env:DOTNET_BUILD_VERSION) {
2626

2727
$majorVersion = 1
2828
$minorVersion = 0
29-
$buildnumber = $commitTime.Days
29+
$buildnumber = 0
3030
$revnumber = $commitTime.TotalSeconds
3131

3232
$VersionSuffix = "dev-$revnumber"

0 commit comments

Comments
 (0)