Skip to content

Commit

Permalink
Update version in README examples on release
Browse files Browse the repository at this point in the history
As part of the change, we also upgrade to the latest release-bot-action
as it is the version that this change was tested with.

Closes #2
  • Loading branch information
SeanTAllen committed Aug 13, 2020
1 parent cc4253f commit aedc29c
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 12 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/announce-a-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,20 @@ name: Announce a release

on:
push:
tags: announce-*.*.*
tags: announce-\d+.\d+.\d+

jobs:
announce-a-release:
name: Announce a release
runs-on: ubuntu-latest
container:
image: ponylang/shared-docker-ci-release:20191107
steps:
- uses: actions/checkout@v1
- name: Announce
uses: ponylang/release-bot-action@0.1.0
uses: ponylang/release-bot-action@0.3.0
with:
step: announce-a-release
git_user_name: "Ponylang Main Bot"
git_user_email: "[email protected]"
env:
ASSET_NAME: "main-actor-documentation-action"
RELEASE_TOKEN: ${{ secrets.RELEASE_TOKEN }}
ZULIP_TOKEN: ${{ secrets.ZULIP_TOKEN }}
19 changes: 16 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,29 @@ on:
- \d+.\d+.\d+

jobs:
update-version-in-readme-examples:
runs-on: ubuntu-latest
name: Update version in README examples
steps:
- name: Update version in README examples
uses: ponylang/[email protected]
with:
git_user_name: "Ponylang Main Bot"
git_user_email: "[email protected]"
env:
API_CREDENTIALS: ${{ secrets.GITHUB_TOKEN }}

trigger-release-announcement:
name: Trigger release announcement
runs-on: ubuntu-latest
container:
image: ponylang/shared-docker-ci-release:20191107
needs: [update-version-in-readme-examples]
steps:
- uses: actions/checkout@v1
- name: Trigger
uses: ponylang/release-bot-action@0.1.0
uses: ponylang/release-bot-action@0.3.0
with:
step: trigger-release-announcement
git_user_name: "Ponylang Main Bot"
git_user_email: "[email protected]"
env:
RELEASE_TOKEN: ${{ secrets.RELEASE_TOKEN }}
8 changes: 4 additions & 4 deletions .github/workflows/start-a-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@ name: Start a release

on:
push:
tags: release-*.*.*
tags: release-\d+.\d+.\d+

jobs:
start-a-release:
name: Start a release
runs-on: ubuntu-latest
container:
image: ponylang/shared-docker-ci-release:20191107
steps:
- uses: actions/checkout@v1
- name: Start
uses: ponylang/release-bot-action@0.1.0
uses: ponylang/release-bot-action@0.3.0
with:
step: start-a-release
git_user_name: "Ponylang Main Bot"
git_user_email: "[email protected]"
env:
RELEASE_TOKEN: ${{ secrets.RELEASE_TOKEN }}

0 comments on commit aedc29c

Please sign in to comment.