File tree 1 file changed +12
-1
lines changed
1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 164
164
<move file =" ${ build.dir } /${ pear.package } /${ pear.package } .tgz" todir =" ${ dist.dir } " />
165
165
</target >
166
166
167
+ <!--
168
+ Updates the local copy to the latest head.
169
+ -->
170
+ <target name =" update-branch" >
171
+ <echo msg =" Updating to latest master." />
172
+ <exec executable =" git pull" >
173
+ <arg value =" ${ git.remote } " />
174
+ <arg value =" master" />
175
+ </exec >
176
+ </target >
177
+
167
178
<!--
168
179
Bump the version number and commit that.
169
180
-->
182
193
<!--
183
194
Create the release commit that updates the version number and pushes the commits.
184
195
-->
185
- <target name =" release-commit" depends =" next-version,prepare" >
196
+ <target name =" release-commit" depends =" update-branch, next-version,prepare" >
186
197
<echo msg =" Creating new release commit" />
187
198
<exec command =" git add ./lib/Cake/VERSION.txt" logoutput =" true" checkreturn =" true" />
188
199
<exec command =" git commit -m 'Update version number to ${ release_version } '" logoutput =" true" checkreturn =" true" />
You can’t perform that action at this time.
0 commit comments