mirror of
https://github.com/greenshot/greenshot
synced 2025-08-21 14:03:23 -07:00
Changes for AppVeyor env variables.
This commit is contained in:
parent
25d9da7094
commit
9b7f2b5dcd
1 changed files with 5 additions and 6 deletions
11
build.ps1
11
build.ps1
|
@ -22,12 +22,11 @@
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
################################################################
|
################################################################
|
||||||
|
|
||||||
if ($args.length -eq 0) {
|
$version=$env:APPVEYOR_BUILD_VERSION
|
||||||
Write-Host "please supply the version and the detail version as arguments"
|
$gitcommit=$env:APPVEYOR_REPO_COMMIT
|
||||||
exit -1
|
$detailversion='$version-$gitcommit'
|
||||||
}
|
|
||||||
$version = $args[0]
|
Write-Host "Building Greenshot $detailversion"
|
||||||
$detailversion = $args[1]
|
|
||||||
|
|
||||||
# Create a MD5 string for the supplied filename
|
# Create a MD5 string for the supplied filename
|
||||||
Function MD5($filename) {
|
Function MD5($filename) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue