Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Trávníček
doctrine-dbal
Commits
d9ab555f
Commit
d9ab555f
authored
Jan 30, 2011
by
Benjamin Eberlei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update workflow of build.xml
parent
531b65c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
build.xml
build.xml
+7
-5
No files found.
build.xml
View file @
d9ab555f
...
@@ -174,9 +174,12 @@
...
@@ -174,9 +174,12 @@
</target>
</target>
<target
name=
"git-tag"
>
<target
name=
"git-tag"
>
<exec
command=
"grep '${version}' ${project.basedir}/lib/Doctrine/DBAL/Version.php"
checkreturn=
"true"
/>
<exec
command=
"grep '${version}-DEV' ${project.basedir}/lib/Doctrine/DBAL/Version.php"
checkreturn=
"true"
/>
<exec
command=
"sed 's/${version}-DEV/${version}/' ${project.basedir}/lib/Doctrine/DBAL/Version.php > ${project.basedir}/lib/Doctrine/DBAL/Version2.php"
passthru=
"true"
/>
<exec
command=
"mv ${project.basedir}/lib/Doctrine/DBAL/Version2.php ${project.basedir}/lib/Doctrine/DBAL/Version.php"
passthru=
"true"
/>
<exec
command=
"git add ${project.basedir}/lib/Doctrine/DBAL/Version.php"
passthru=
"true"
/>
<exec
command=
"git commit -m 'Release {$version}'"
/>
<exec
command=
"git tag -a ${version}"
passthru=
"true"
/>
<exec
command=
"git tag -a ${version}"
passthru=
"true"
/>
<exec
command=
"git push origin ${version}"
passthru=
"true"
/>
</target>
</target>
<target
name=
"pirum-release"
>
<target
name=
"pirum-release"
>
...
@@ -191,11 +194,10 @@
...
@@ -191,11 +194,10 @@
<target
name=
"update-dev-version"
>
<target
name=
"update-dev-version"
>
<exec
command=
"grep '${version}' ${project.basedir}/lib/Doctrine/DBAL/Version.php"
checkreturn=
"true"
/>
<exec
command=
"grep '${version}' ${project.basedir}/lib/Doctrine/DBAL/Version.php"
checkreturn=
"true"
/>
<propertyprompt
propertyName=
"next_version"
defaultValue=
"${version}"
promptText=
"Enter next version string (without -DEV)"
/>
<propertyprompt
propertyName=
"next_version"
defaultValue=
"${version}"
promptText=
"Enter next version string (without -DEV)"
/>
<exec
command=
"sed 's/${version}
-DEV
/${next_version}-DEV/' ${project.basedir}/lib/Doctrine/DBAL/Version.php > ${project.basedir}/lib/Doctrine/DBAL/Version2.php"
passthru=
"true"
/>
<exec
command=
"sed 's/${version}/${next_version}-DEV/' ${project.basedir}/lib/Doctrine/DBAL/Version.php > ${project.basedir}/lib/Doctrine/DBAL/Version2.php"
passthru=
"true"
/>
<exec
command=
"mv ${project.basedir}/lib/Doctrine/DBAL/Version2.php ${project.basedir}/lib/Doctrine/DBAL/Version.php"
passthru=
"true"
/>
<exec
command=
"mv ${project.basedir}/lib/Doctrine/DBAL/Version2.php ${project.basedir}/lib/Doctrine/DBAL/Version.php"
passthru=
"true"
/>
<exec
command=
"git add ${project.basedir}/lib/Doctrine/DBAL/Version.php"
passthru=
"true"
/>
<exec
command=
"git add ${project.basedir}/lib/Doctrine/DBAL/Version.php"
passthru=
"true"
/>
<exec
command=
"git commit -m 'Bump Dev Version to ${next_version}'"
passthru=
"true"
/>
<exec
command=
"git commit -m 'Bump Dev Version to ${next_version}-DEV'"
passthru=
"true"
/>
<exec
command=
"git push origin master"
passthru=
"true"
/>
</target>
</target>
<target
name=
"release"
depends=
"git-tag,build-packages,distribute-download,pirum-release,update-dev-version"
/>
<target
name=
"release"
depends=
"git-tag,build-packages,distribute-download,pirum-release,update-dev-version"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment