shithub: opus-tools

Download patch

ref: a382b1a66dbcf345631b615cd780a79f1a77f12e
parent: 0719e7bd174969a6c9f0f6aba4bd4683a8d75654
author: Ricardo Constantino <[email protected]>
date: Thu Feb 9 21:11:01 EST 2017

appveyor: save artifact to constant name

So it can be used with a permalink to the latest build.

ex: https://ci.appveyor.com/api/projects/rillian/opus-tools/artifacts/opus-tools.zip?job=Configuration%3A%20Release%3B%20Platform%3A%20x64
This is a permalink to the latest successful build of Release x64.

Signed-off-by: Ralph Giles <[email protected]>

--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -11,8 +11,8 @@
 - cd %APPVEYOR_BUILD_FOLDER%
 - git clone -q https://github.com/xiph/opus.git ..\opus
 - git clone -q https://github.com/xiph/ogg.git ..\ogg
-- msbuild "..\opus\win32\VS2015\opus.vcxproj" /m /v:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /p:Configuration=%CONFIGURATION%;Platform=%PLATFORM%
-- msbuild "..\ogg\win32\VS2015\libogg_static.sln" /m /v:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /property:Configuration=%CONFIGURATION%;Platform=%PLATFORM%
+- msbuild "..\opus\win32\VS2015\opus.vcxproj" /p:Configuration=%CONFIGURATION%;Platform=%PLATFORM% /m /v:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
+- msbuild "..\ogg\win32\VS2015\libogg_static.sln" /property:Configuration=%CONFIGURATION%;Platform=%PLATFORM% /m /v:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
 
 build:
   project: win32\VS2015\opus-tools.sln
@@ -21,8 +21,8 @@
 
 after_build:
 - cd %APPVEYOR_BUILD_FOLDER%
-- git describe --tags --match "v*" --dirty>_git_tag.tmp
-- set /p version=<_git_tag.tmp
-- set version=%version:~1%
-- 7z a opus-tools-%version%.zip .\win32\VS2015\%PLATFORM%\%CONFIGURATION%\*.exe
-- appveyor PushArtifact opus-tools-%version%.zip
+- 7z a opus-tools.zip .\win32\VS2015\%PLATFORM%\%CONFIGURATION%\*.exe .\COPYING
+
+artifacts:
+  - path: opus-tools.zip
+