Skip to content

Commit

Permalink
dev branch
Browse files Browse the repository at this point in the history
  • Loading branch information
soramimi committed Oct 16, 2023
1 parent c7bb0f6 commit 2830b52
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 2 deletions.
1 change: 1 addition & 0 deletions ci/build-dev.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
curl -u soramimi:password http://10.0.0.12:8080/job/Guitar-dev/build?token=token
14 changes: 14 additions & 0 deletions ci/ci-amd64-deb-dev.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
rm _bin -fr
rm _build -fr
mkdir _bin
ruby prepare.rb
cd packaging/deb
mkdir _build
cd _build
qmake "CONFIG+=release" ../../../Guitar.pri
make -j2
cd ..
cp _build/Guitar .
SUFFIX=-dev ruby mk-deb.rb
file=`SUFFIX=-dev ./debname.rb`
curl -T $file ftp://10.0.0.5/Public/pub/_tmp/
7 changes: 6 additions & 1 deletion packaging/deb/debname.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@

load '../../version.rb'

$package = "guitar"
$suffix = ENV['SUFFIX']
if $suffix.nil?
$suffix = ''
end

$package = "guitar" + $suffix
$arch = `./arch.rb`.strip
$debname = "#{$package}_#{$version_a}.#{$version_b}.#{$version_c}_#{$arch}.deb"

Expand Down
7 changes: 6 additions & 1 deletion packaging/deb/mk-deb.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@

load '../../version.rb'

$package = "guitar"
$suffix = ENV['SUFFIX']
if $suffix.nil?
$suffix = ''
end

$package = "guitar" + $suffix
$maintainer = "nobody <nobody@example.com>"
$version = "#{$version_a}.#{$version_b}.#{$version_c}"
$workdir = "build"
Expand Down

0 comments on commit 2830b52

Please sign in to comment.