shithub: opus-tools

Download patch

ref: 33a848f09e2026ab03fffe9e3e78b17e3b37454a
parent: 3f779e7a43f73ce5a781c586452307659fb0f1d4
author: Ricardo Constantino <wiiaboo@gmail.com>
date: Sun Jan 22 15:44:35 EST 2017

appveyor: remove version prefix from artifacts

Also appveyor.yml configuration file is moved to .appveyor.yml.

Closes https://github.com/xiph/opus-tools/pull/14
Signed-off-by: Mark Harris <mark.hsj@gmail.com>

--- /dev/null
+++ b/.appveyor.yml
@@ -1,0 +1,28 @@
+image: Visual Studio 2015
+configuration:
+- Debug
+- Release
+
+platform:
+- Win32
+- x64
+
+install:
+- 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%
+
+build:
+  project: win32\VS2015\opus-tools.sln
+  parallel: true
+  verbosity: minimal
+
+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
--- a/appveyor.yml
+++ /dev/null
@@ -1,25 +1,0 @@
-image: Visual Studio 2015
-configuration:
-- Debug
-- Release
-
-platform:
-- Win32
-- x64
-
-install:
-- git clone -q https://github.com/xiph/opus.git %APPVEYOR_BUILD_FOLDER%\..\opus
-- git clone -q https://github.com/xiph/ogg.git %APPVEYOR_BUILD_FOLDER%\..\ogg
-- msbuild "%APPVEYOR_BUILD_FOLDER%\..\opus\win32\VS2015\opus.vcxproj" /m /v:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /p:Configuration=%CONFIGURATION%;Platform=%PLATFORM%
-- msbuild "%APPVEYOR_BUILD_FOLDER%\..\ogg\win32\VS2015\libogg_static.sln" /m /v:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /property:Configuration=%CONFIGURATION%;Platform=%PLATFORM%
-
-build:
-  project: win32\VS2015\opus-tools.sln
-  parallel: true
-  verbosity: minimal
-
-after_build:
-- git describe --tags --match "v*" --always > _git_tag.tmp
-- set /p version=<_git_tag.tmp
-- 7z a opus-tools-%version%.zip %APPVEYOR_BUILD_FOLDER%\win32\VS2015\%PLATFORM%\%CONFIGURATION%\*.exe
-- appveyor PushArtifact opus-tools-%version%.zip