File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 11{
22 "files" : [
33 {
4- "includePattern" : " build/quaternion.dmg" ,
4+ "includePattern" : " build/quaternion.* \. dmg" ,
55 "uploadPattern" : " quaternion-VERSION_VALUE.dmg"
66 },
77 {
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ script:
8686- cmake --build . --target all
8787- export DESTDIR=$TRAVIS_BUILD_DIR/install
8888- if [ "$TRAVIS_OS_NAME" = "linux" ]; then cmake --build . --target install; fi
89- - if [ "$TRAVIS_OS_NAME" = "osx" ]; then cmake --build . --target image; fi
89+ - if [ "$TRAVIS_OS_NAME" = "osx" ]; then cmake --build . --target image; mv quaternion.dmg quaternion-$VERSION.dmg; fi
9090- popd
9191# TODO: maybe move AppImage generation to CMakeLists.txt
9292# (pre-wgetting AppImageKit to avoid CMakeList.txt dependency on Internet?)
@@ -127,7 +127,8 @@ deploy:
127127
128128- provider : releases
129129 api_key : $GITHUB_API_KEY
130- file : build/quaternion.dmg
130+ file_glob : true
131+ file : build/quaternion.*\.dmg
131132 skip_cleanup : true
132133 on :
133134 tags : true
You can’t perform that action at this time.
0 commit comments