Skip to content

Commit

Permalink
Alternate CI build fix attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
friday committed Aug 21, 2021
1 parent b3fbd45 commit abce451
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 0 additions & 3 deletions scripts/build-deb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,4 @@ build-deb () {
error "Second argument must be either --deb or --upload"
exit 1
fi

# Rename dpkg-buildpackage output file to be consistent with our naming
mv "$tmpdir/ulauncher_${deb_version}_all.deb" "$tmpdir/ulauncher_${version}_all.deb"
}
3 changes: 2 additions & 1 deletion scripts/make-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ make-release() {
}

create_deb() {
DEB_VERSION=$(echo "$VERSION" | tr "-" "~")
step1="ln -s /var/node_modules data/preferences" # take node modules from cache
step2="ln -s /var/bower_components data/preferences"
step3="./ul test"
Expand All @@ -45,7 +46,7 @@ create_deb() {
bash -c "$step1 && $step2 && $step3 && $step4 && $step5"
set +x
docker cp ulauncher-deb:/tmp/ulauncher_$VERSION.tar.gz .
docker cp ulauncher-deb:/tmp/ulauncher_${VERSION}_all.deb .
docker cp "ulauncher-deb:/tmp/ulauncher_${DEB_VERSION}_all.deb" "ulauncher_${VERSION}_all.deb"
docker rm ulauncher-deb
}

Expand Down

0 comments on commit abce451

Please sign in to comment.