summaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorFlorian Zschocke <florian.zschocke@devolo.de>2020-01-27 21:46:23 +0100
committerFlorian Zschocke <florian.zschocke@devolo.de>2020-01-27 21:48:37 +0100
commitc28e21611538f1977e89d847bdaf181b659f89ed (patch)
tree837d42a5413a3c83c40fd15bfc12c25cfc82ff27 /build.xml
parent243ee989ef13fde63faed451c938e4ccdd5f8922 (diff)
downloadgitblit-c28e21611538f1977e89d847bdaf181b659f89ed.tar.gz
gitblit-c28e21611538f1977e89d847bdaf181b659f89ed.zip
Use GitHub org property in octokit calls
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml12
1 files changed, 6 insertions, 6 deletions
diff --git a/build.xml b/build.xml
index f9ec975f..ca356d34 100644
--- a/build.xml
+++ b/build.xml
@@ -802,7 +802,7 @@
releaseVersion="${project.version}"/>
<exec executable="bash" logError="true" >
<arg value="-c" />
- <arg value="${octokit} -q edit_release fzs gitblit ${ghrelease.id} tag_name='${release.tag}'"></arg>
+ <arg value="${octokit} -q edit_release ${gh.org} gitblit ${ghrelease.id} tag_name='${release.tag}'"></arg>
</exec>
<ghPublishReleaseDraft
releaseid="${ghrelease.id}"/>
@@ -1100,11 +1100,11 @@
<echo>Creating release ${project.tag} draft on GitHub</echo>
<exec executable="bash" logError="true" failonerror="true" outputproperty="ghrelease.id">
<arg value="-c" />
- <arg value="${octokit} create_release fzs gitblit @{releasetag} name=${project.version} draft=true | cut -f2"></arg>
+ <arg value="${octokit} create_release ${gh.org} gitblit @{releasetag} name=${project.version} draft=true | cut -f2"></arg>
</exec>
<exec executable="bash" logError="true" failonerror="true" outputproperty="ghrelease.upldUrl">
<arg value="-c" />
- <arg value="${octokit} release fzs gitblit ${ghrelease.id} _filter=.upload_url | sed 's/{.*$/?name=/'"></arg>
+ <arg value="${octokit} release ${gh.org} gitblit ${ghrelease.id} _filter=.upload_url | sed 's/{.*$/?name=/'"></arg>
</exec>
<exec executable="bash" logError="true" failonerror="true" outputproperty="ghrelease.notes">
<arg value="-c" />
@@ -1112,7 +1112,7 @@
</exec>
<exec executable="bash" logError="true" >
<arg value="-c" />
- <arg value="${octokit} -q edit_release fzs gitblit ${ghrelease.id} body='${ghrelease.notes}'"></arg>
+ <arg value="${octokit} -q edit_release ${gh.org} gitblit ${ghrelease.id} body='${ghrelease.notes}'"></arg>
</exec>
</sequential>
</macrodef>
@@ -1145,7 +1145,7 @@
<echo>publishing GitHub release draft @{releaseid}</echo>
<exec executable="bash" logError="true" >
<arg value="-c" />
- <arg value="${octokit} -q edit_release fzs gitblit @{releaseid} draft=false"></arg>
+ <arg value="${octokit} -q edit_release ${gh.org} gitblit @{releaseid} draft=false"></arg>
</exec>
</sequential>
</macrodef>
@@ -1160,7 +1160,7 @@
<sequential>
<exec executable="bash" logError="true" failonerror="true" outputproperty="ghrelease.id">
<arg value="-c" />
- <arg value="${octokit} list_releases fzs gitblit _filter='.[] | &quot;\(.name)\t\(.tag_name)\t\(.id)&quot;' | grep @{releaseVersion} | cut -f3"></arg>
+ <arg value="${octokit} list_releases ${gh.org} gitblit _filter='.[] | &quot;\(.name)\t\(.tag_name)\t\(.id)&quot;' | grep @{releaseVersion} | cut -f3"></arg>
</exec>
</sequential>
</macrodef>