Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit cf2ed18

Browse files
committed
build for both cedar-14 and heroku-16 stacks
1 parent 18ccd2e commit cf2ed18

File tree

1 file changed

+15
-16
lines changed

1 file changed

+15
-16
lines changed

‎auto-updater/99-ship-it

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,24 @@
11
#!/usr/bin/env bash
2-
stack=1ドル; shift
3-
42
set -xeo pipefail
53

6-
docker build --tag heroku-php-build-$stack --file $(pwd)/support/build/_docker/$stack.Dockerfile .
4+
for stack in heroku-16 cedar-14; do
5+
docker build --tag heroku-php-build-$stack --file $(pwd)/support/build/_docker/$stack.Dockerfile .
76

8-
dokku_run() {
9-
docker run --env-file=env-file -e STACK=$stack -e S3_PREFIX=dist-$stack-develop/ -e UPSTREAM_S3_PREFIX=dist-$stack-stable/ -it heroku-php-build-$stack $*
10-
}
7+
dokku_run() {
8+
docker run --env-file=env-file -e STACK=$stack -e S3_PREFIX=dist-$stack-develop/ -e UPSTREAM_S3_PREFIX=dist-$stack-stable/ -it heroku-php-build-$stack $*
9+
}
1110

12-
shipit() {
13-
dokku_run support/build/_util/deploy.sh --overwrite $*
14-
}
11+
shipit() {
12+
dokku_run support/build/_util/deploy.sh --overwrite $*
13+
}
1514

16-
shipit libraries/v8
15+
shipit libraries/v8
1716

17+
for dir in no-debug-non-zts-20151012 no-debug-non-zts-20160303/; do
18+
shipit `cd support/build/; ls -1 extensions/$dir/v8js-bare-2.*`
19+
shipit `cd support/build/; ls -1 extensions/$dir/v8js-2.*`
20+
done
1821

19-
for dir in no-debug-non-zts-20151012 no-debug-non-zts-20160303/; do
20-
shipit `cd support/build/; ls -1 extensions/$dir/v8js-bare-2.*`
21-
shipit `cd support/build/; ls -1 extensions/$dir/v8js-2.*`
22+
dokku_run support/build/_util/mkrepo.sh --upload
23+
dokku_run support/build/_util/sync.sh heroku-v8js dist-$stack-stable/
2224
done
23-
24-
dokku_run support/build/_util/mkrepo.sh --upload
25-
dokku_run support/build/_util/sync.sh heroku-v8js dist-$stack-stable/

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /