mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-26 13:08:48 +03:00
Use cp vs CopyFiles task due to macOS errors
This commit is contained in:
parent
8bd63ba2b8
commit
28e40544c4
3 changed files with 20 additions and 10 deletions
|
@ -15,16 +15,18 @@ steps:
|
||||||
./.ci/script.sh
|
./.ci/script.sh
|
||||||
sed -i -e "s/VERSION_NAME_VALUE/${VERSION}/g" ./.ci/bintray-release.json || true
|
sed -i -e "s/VERSION_NAME_VALUE/${VERSION}/g" ./.ci/bintray-release.json || true
|
||||||
cp ./.ci/bintray-release.json .
|
cp ./.ci/bintray-release.json .
|
||||||
- task: CopyFiles@2
|
env:
|
||||||
inputs:
|
ARTIFACT_STAGING_DIRECTORY: $(Build.ArtifactStagingDirectory))
|
||||||
sourceFolder: $(Build.Repository.LocalPath) # Optional
|
# - task: CopyFiles@2
|
||||||
contents: |
|
# inputs:
|
||||||
'**/nheko*.dmg'
|
# sourceFolder: $(Build.Repository.LocalPath) # Optional
|
||||||
'**/nheko*.AppImage'
|
# contents: |
|
||||||
targetFolder: $(Build.ArtifactStagingDirectory)
|
# '**/nheko*.dmg'
|
||||||
#cleanTargetFolder: false # Optional
|
# '**/nheko*.AppImage'
|
||||||
overWrite: true # Optional
|
# targetFolder: $(Build.ArtifactStagingDirectory)
|
||||||
flattenFolders: true # Optional
|
# #cleanTargetFolder: false # Optional
|
||||||
|
# overWrite: true # Optional
|
||||||
|
# flattenFolders: true # Optional
|
||||||
# Create a variable for build success
|
# Create a variable for build success
|
||||||
- bash: ls ${ARTIFACT_STAGING_DIRECTORY}
|
- bash: ls ${ARTIFACT_STAGING_DIRECTORY}
|
||||||
env:
|
env:
|
||||||
|
|
|
@ -54,3 +54,7 @@ if [ -n "$VERSION" ]; then
|
||||||
#mv nheko-*x86_64.AppImage nheko-${VERSION}-x86_64.AppImage
|
#mv nheko-*x86_64.AppImage nheko-${VERSION}-x86_64.AppImage
|
||||||
echo "nheko-${VERSION}-x86_64.AppImage"
|
echo "nheko-${VERSION}-x86_64.AppImage"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -n "$ARTIFACT_STAGING_DIRECTORY" ]; then
|
||||||
|
cp "nheko-${VERSION}-x86_64.AppImage" "${ARTIFACT_STAGING_DIRECTORY}"
|
||||||
|
fi
|
|
@ -28,3 +28,7 @@ dmgbuild -s ./.ci/macos/settings.json "Nheko" nheko.dmg
|
||||||
if [ -n "$VERSION" ]; then
|
if [ -n "$VERSION" ]; then
|
||||||
mv nheko.dmg "nheko-${VERSION}.dmg"
|
mv nheko.dmg "nheko-${VERSION}.dmg"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -n "$ARTIFACT_STAGING_DIRECTORY" ]; then
|
||||||
|
cp "nheko-${VERSION}.dmg" "${ARTIFACT_STAGING_DIRECTORY}"
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in a new issue