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

Commit

Permalink
unify versions on binaries and nupkgs
Browse files Browse the repository at this point in the history
  • Loading branch information
krwq committed Dec 9, 2015
1 parent c701a1a commit bd6519d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ LAST_COMMIT_TIMESTAMP=$(git log -1 --format=%ct)
major=1
minor=0
# no. of days since epoch
build=$(($LAST_COMMIT_TIMESTAMP/3600/24))
build=0
revision=$LAST_COMMIT_TIMESTAMP

export DOTNET_BUILD_VERSION=$major.$minor.$build.$revision
Expand Down
2 changes: 1 addition & 1 deletion scripts/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ if (!$env:DOTNET_BUILD_VERSION) {

$majorVersion = 1
$minorVersion = 0
$buildnumber = $commitTime.Days
$buildnumber = 0
$revnumber = $commitTime.TotalSeconds

$VersionSuffix = "dev-$revnumber"
Expand Down

0 comments on commit bd6519d

Please sign in to comment.