Skip to content

Commit

Permalink
Qualify version number to place in artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
computerquip-streamlabs committed Nov 13, 2018
1 parent b826c75 commit c8de813
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions appveyor.yml
Expand Up @@ -27,13 +27,13 @@ environment:
secure: iZlMSWnmH5FQDpa+/0SgXIyvCobkElj2y5lu94Uo8VnTWHTeTC1/bpVkzsLreENocomvDB5ywsa3+QdathRp8A==
StreamlabsSecret:
secure: hr+VpykbGiCI5I0ltiqH667wh/YQx2Fi5SBLfkOWHSg=
UnsignedArtifact: obs-studio-node-us-${APPVEYOR_BUILD_VERSION}-${RuntimeName}-${RuntimeVersion}
SignedArtifact: obs-studio-node-${APPVEYOR_BUILD_VERSION}-${RuntimeName}-${RuntimeVersion}

install:
- ps: Install-Product node $env:NodeVersion x64
- yarn install
- git submodule update --init --recursive
- ps: $env:SignedArtifact = "obs-studio-node-$(git describe --tags --abbrev=0)-$env:RuntimeName-$env:RuntimeVersion"
- ps: $env:UnsignedArtifact = "obs-studio-node-us-$env:APPVEYOR_BUILD_NUMBER-$env:RuntimeName-$env:RuntimeVersion"

build_script:
- cmd: ci\cmake-build.cmd
Expand All @@ -52,10 +52,9 @@ test_script:
}
before_deploy:
- cmd: ci\copy-signed-binaries.cmd
- nuget install secure-file -ExcludeVersion
- cmd: ci\copy-signed-binaries.cmd
- ps: ci\win-signed-build.ps1
- copy "%SLBuildDirectory%\libobs_signed-src\data\obs-plugins\win-capture" "%SLFullDistributePath%\obs-studio-node\data\obs-plugins\win-capture"
- tar cvaf "%SignedArtifact%.tar.gz" -C "%SLFullDistributePath%" "obs-studio-node"
- ps: Push-AppveyorArtifact "$env:SignedArtifact.tar.gz"

Expand Down

0 comments on commit c8de813

Please sign in to comment.