Skip to content

Commit

Permalink
Merge pull request #13 from azohra/release/0.6.0
Browse files Browse the repository at this point in the history
Release/0.6.0
  • Loading branch information
Azbagheri authored Mar 12, 2020
2 parents 221a081 + 28387d4 commit 7da8f7c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
uses: ncipollo/release-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
tag: v0.5.0
tag: v0.6.0
commit: master
name: Gitrise equipped with logs!
bodyFile: ./docs/release_notes/v0.5.0.md
name: Gitrise getting more patient to get the build status!
bodyFile: ./docs/release_notes/v0.6.0.md
3 changes: 3 additions & 0 deletions docs/release_notes/v0.6.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
### Release Notes

* Decreased the polling frequency of the API call that gets the build status to once every 30 seconds
4 changes: 2 additions & 2 deletions gitrise.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# shellcheck disable=SC2155
# disbales "Declare and assign separately to avoid masking return values."

VERSION="0.5.0"
VERSION="0.6.0"
APP_NAME="Gitrise Trigger"

build_slug=""
Expand Down Expand Up @@ -143,7 +143,7 @@ get_build_status () {
local response=""
while [ "${build_status}" = 0 ]; do
if [ -z "${TESTING_ENABLED}" ]; then
sleep 10
sleep 30
local command="curl --silent -X GET https://api.bitrise.io/v0.1/apps/$PROJECT_SLUG/builds/$build_slug --header 'Authorization: $ACCESS_TOKEN'"
response=$(eval "${command}")
else
Expand Down

0 comments on commit 7da8f7c

Please sign in to comment.