mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-11-23 20:12:09 +03:00
spelling: github
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
e843b00bb5
commit
f6baa2a6b9
4
.github/workflows/accept-pull-request.yml
vendored
4
.github/workflows/accept-pull-request.yml
vendored
@ -150,10 +150,10 @@ jobs:
|
|||||||
gh_result=$(gh api repos/"${OWNER}"/"${REPO}"/releases/tags/"${tag_version}" | tr ":" "=" | tr -d '"' | tr -d " ")
|
gh_result=$(gh api repos/"${OWNER}"/"${REPO}"/releases/tags/"${tag_version}" | tr ":" "=" | tr -d '"' | tr -d " ")
|
||||||
echo "gh_result=${gh_result}"
|
echo "gh_result=${gh_result}"
|
||||||
if [ $(echo "${gh_result}" | grep -Ec "message=NotFound|prerelease=true") -eq 0 ] ; then
|
if [ $(echo "${gh_result}" | grep -Ec "message=NotFound|prerelease=true") -eq 0 ] ; then
|
||||||
comment="✅ Github release ${tag_version} is published."
|
comment="✅ GitHub release ${tag_version} is published."
|
||||||
echo " - ${comment}"
|
echo " - ${comment}"
|
||||||
else
|
else
|
||||||
comment="👁🗨 Github release ${tag_version} is still in draft/prerelease. Please don't forget to publish it after merging this release PR."
|
comment="👁🗨 GitHub release ${tag_version} is still in draft/prerelease. Please don't forget to publish it after merging this release PR."
|
||||||
echo " - ${comment}"
|
echo " - ${comment}"
|
||||||
gh pr comment "${PR_NUMBER}" --body "${comment}"
|
gh pr comment "${PR_NUMBER}" --body "${comment}"
|
||||||
fi
|
fi
|
||||||
|
2
.github/workflows/coverage.yml
vendored
2
.github/workflows/coverage.yml
vendored
@ -55,7 +55,7 @@ jobs:
|
|||||||
git_user_signingkey: true
|
git_user_signingkey: true
|
||||||
git_commit_gpgsign: true
|
git_commit_gpgsign: true
|
||||||
|
|
||||||
- name: Deploy Github Pages
|
- name: Deploy GitHub Pages
|
||||||
uses: peaceiris/actions-gh-pages@v3
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
with:
|
with:
|
||||||
personal_token: ${{ secrets.HURL_BOT_TOKEN }}
|
personal_token: ${{ secrets.HURL_BOT_TOKEN }}
|
||||||
|
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@ -90,10 +90,10 @@ jobs:
|
|||||||
escaped_version=$(echo "${{ needs.set-context.outputs.release_version }}" | sed "s#\.#\\\.#g")
|
escaped_version=$(echo "${{ needs.set-context.outputs.release_version }}" | sed "s#\.#\\\.#g")
|
||||||
github_release_exists=$(gh release list | (grep -c "${escaped_version}" || true))
|
github_release_exists=$(gh release list | (grep -c "${escaped_version}" || true))
|
||||||
if [ ${github_release_exists} -eq 0 ] ; then
|
if [ ${github_release_exists} -eq 0 ] ; then
|
||||||
echo " - ✅ Github release ${{ needs.set-context.outputs.release_version }} does not exist."
|
echo " - ✅ GitHub release ${{ needs.set-context.outputs.release_version }} does not exist."
|
||||||
echo "github_release_exists=false" | tee -a $GITHUB_OUTPUT
|
echo "github_release_exists=false" | tee -a $GITHUB_OUTPUT
|
||||||
else
|
else
|
||||||
echo " - ✅ Github release ${{ needs.set-context.outputs.release_version }} already exists on remote."
|
echo " - ✅ GitHub release ${{ needs.set-context.outputs.release_version }} already exists on remote."
|
||||||
echo "github_release_exists=true" | tee -a $GITHUB_OUTPUT
|
echo "github_release_exists=true" | tee -a $GITHUB_OUTPUT
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -340,7 +340,7 @@ jobs:
|
|||||||
artifacts/release-windows-x64-artifacts/hurl-"${{ needs.set-context.outputs.release_version }}"-x86_64-pc-windows-msvc-installer.exe \
|
artifacts/release-windows-x64-artifacts/hurl-"${{ needs.set-context.outputs.release_version }}"-x86_64-pc-windows-msvc-installer.exe \
|
||||||
artifacts/release-windows-x64-artifacts/hurl-"${{ needs.set-context.outputs.release_version }}"-x86_64-pc-windows-msvc.zip && gh_exit_code=0 || gh_exit_code=$?
|
artifacts/release-windows-x64-artifacts/hurl-"${{ needs.set-context.outputs.release_version }}"-x86_64-pc-windows-msvc.zip && gh_exit_code=0 || gh_exit_code=$?
|
||||||
if [ ${gh_exit_code} -eq 0 ] ; then
|
if [ ${gh_exit_code} -eq 0 ] ; then
|
||||||
echo " - ✅ Github release ${{ needs.set-context.outputs.release_version }} created."
|
echo " - ✅ GitHub release ${{ needs.set-context.outputs.release_version }} created."
|
||||||
else
|
else
|
||||||
echo " - ❌ A problem occurs when attempting to create GitHub release ${{ needs.set-context.outputs.release_version }}."
|
echo " - ❌ A problem occurs when attempting to create GitHub release ${{ needs.set-context.outputs.release_version }}."
|
||||||
exit 1
|
exit 1
|
||||||
|
@ -477,7 +477,7 @@ Bugs Fixes:
|
|||||||
Changes:
|
Changes:
|
||||||
|
|
||||||
* Update hurlfmt usage [#81](https://github.com/Orange-OpenSource/hurl/issues/81)
|
* Update hurlfmt usage [#81](https://github.com/Orange-OpenSource/hurl/issues/81)
|
||||||
* Migrate fully to Github Actions [#69](https://github.com/Orange-OpenSource/hurl/issues/69)
|
* Migrate fully to GitHub Actions [#69](https://github.com/Orange-OpenSource/hurl/issues/69)
|
||||||
* Add Hurl File JSON export [#65](https://github.com/Orange-OpenSource/hurl/issues/65)
|
* Add Hurl File JSON export [#65](https://github.com/Orange-OpenSource/hurl/issues/65)
|
||||||
* Support wildcard value in implicit status code response [#55](https://github.com/Orange-OpenSource/hurl/issues/55)
|
* Support wildcard value in implicit status code response [#55](https://github.com/Orange-OpenSource/hurl/issues/55)
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
"""Create Release note from Github Issues and Pull Requests for a given version
|
"""Create Release note from GitHub Issues and Pull Requests for a given version
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
$ python3 bin/release/get_release_note.py 1.7.0
|
$ python3 bin/release/get_release_note.py 1.7.0
|
||||||
|
Loading…
Reference in New Issue
Block a user