Skip to content

Commit

Permalink
param
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Staněk committed Oct 17, 2024
1 parent 16beea4 commit 1268a5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@
pubkeyfile="id_rsa.pub" command="ls ${deploy.releasesDir}" property="allReleases"/>

<exec executable="bash" outputProperty="previousReleases" checkreturn="true">
<arg value="-c"/>
<arg line='echo "${allReleases}" | grep -v "^${deploy.releaseHash}$"'/>
</exec>

Expand All @@ -144,7 +145,6 @@
<property name="deploy.ssh.host" refid="env.DEPLOY_SSH_HOST"/>
<property name="deploy.ssh.port" refid="env.DEPLOY_SSH_PORT"/>
<property name="deploy.ssh.username" refid="env.DEPLOY_SSH_USERNAME"/>
<property name="deploy.ssh.key" refid="env.DEPLOY_SSH_KEY"/>

<exec executable="git" outputProperty="build.hash">
<arg line="rev-parse --short HEAD"/>
Expand Down

0 comments on commit 1268a5a

Please sign in to comment.