Skip to content

Commit 8c370df

Browse files
authored
Update tool to version 1.2.0. (#102)
1 parent 78077f0 commit 8c370df

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
env:
4646
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4747
run: |
48-
if [ "${GITHUB_HEAD_REF}" != "master" ]; then
48+
if [ "${GITHUB_REF_NAME}" != "master" ]; then
4949
echo "Not on master branch, skipping upload";
5050
exit 0;
5151
fi
@@ -57,9 +57,9 @@ jobs:
5757
git config user.email "release@zend.com"
5858
git config user.name "Automated Release"
5959
git stash
60-
git fetch origin ${GITHUB_HEAD_REF}
61-
git checkout ${GITHUB_HEAD_REF}
60+
git fetch origin ${GITHUB_REF_NAME}
61+
git checkout ${GITHUB_REF_NAME}
6262
git stash pop
6363
git commit -a -m "Update phar and zpk"
64-
git push origin ${GITHUB_HEAD_REF}
64+
git push origin ${GITHUB_REF_NAME}
6565
fi

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name" : "zenddevops/client",
3-
"version" : "1.1.1",
3+
"version" : "1.2.0",
44
"description" : "ZF2 CLI tool to access Zend Server Web API",
55
"type" : "project",
66
"authors" : [{

0 commit comments

Comments
 (0)