File tree 3 files changed +4
-20
lines changed
3 files changed +4
-20
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: PHP release
2
2
3
3
on :
4
4
release :
5
- types : [published, created, edited]
5
+ types : [created, edited]
6
6
7
7
jobs :
8
8
run :
Original file line number Diff line number Diff line change 18
18
<property name =" clean.done" value =" true" />
19
19
</target >
20
20
21
- <target name =" signed-phar" depends =" phar"
22
- description =" Create signed PHAR archive of PHPDraft and all its dependencies" >
23
- <exec executable =" gpg" failonerror =" true" >
24
- <arg value =" --armor" />
25
- <arg value =" --detach-sign" />
26
- <arg path =" ${ project.basedir } /build/phpdraft-library-${ version } .phar" />
27
- </exec >
28
-
29
- <exec executable =" gpg" failonerror =" true" >
30
- <arg value =" --armor" />
31
- <arg value =" --detach-sign" />
32
- <arg path =" ${ project.basedir } /build/phpdraft-${ version } .phar" />
33
- </exec >
34
- </target >
35
-
36
21
<target name =" phar" depends =" -phar-prepare"
37
22
description =" Create PHAR archive of PHPDraft and all its dependencies" >
38
23
<phingcall target =" -phar-build" >
160
145
</target >
161
146
162
147
<target name =" validate-composer-json" unless =" validate-composer-json.done" description =" Validate composer.json" >
163
- <exec executable =" composer" failonerror =" true" taskname =" composer" >
148
+ <exec executable =" composer" checkreturn =" true" taskname =" composer" >
164
149
<arg value =" validate" />
165
150
<arg value =" --no-check-lock" />
166
151
<arg value =" --strict" />
173
158
<target name =" -phar-determine-version" >
174
159
<exec command =" php ${ project.basedir } /phpdraft --version | grep -ohE '([0-9]{1,}\.)+[0-9]{1,}'" outputproperty =" version" />
175
160
</target >
176
- </project >
161
+ </project >
Original file line number Diff line number Diff line change 39
39
" vendor/bin/phpunit --configuration tests/phpunit.xml --coverage-clover=coverage.xml"
40
40
],
41
41
"phar" : [
42
- " vendor/bin/phing phar-nightly" ,
43
- " vendor/bin/phing signed-phar" ,
42
+ " vendor/bin/phing phar" ,
44
43
" sha256sum build/out/*"
45
44
]
46
45
},
You can’t perform that action at this time.
0 commit comments