Skip to content

Commit

Permalink
chore(release): publish announce tweet manually (#241)
Browse files Browse the repository at this point in the history
It is no longer possible to post a tweet with the API without a paid
plan (and we only have a free plan). So, remove the automation and
documentation how to do it manually.
  • Loading branch information
tbouffard committed Aug 22, 2023
1 parent c5dfea7 commit c25540b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 22 deletions.
19 changes: 0 additions & 19 deletions .github/workflows/announce-new-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,6 @@ on:
required: true

jobs:
publish_tweet:
runs-on: ubuntu-22.04
steps:
- name: Publish a tweet
uses: snow-actions/[email protected]
with:
status: |
📣 bpmnVisualizationR ${{ github.event.inputs.version }} is out! 🎉
${{ github.event.inputs.description }}
#bpmnvisualization #bpmn #visualization #R #RLang #programming #opensource
${{ github.server_url }}/${{ github.repository }}/releases/tag/v${{ github.event.inputs.version }}
env:
CONSUMER_API_KEY: ${{ secrets.TWITTER_CONSUMER_API_KEY }}
CONSUMER_API_SECRET_KEY: ${{ secrets.TWITTER_CONSUMER_API_SECRET_KEY }}
ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }}
ACCESS_TOKEN_SECRET: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}

publish_discord_post:
runs-on: ubuntu-22.04
steps:
Expand Down
10 changes: 7 additions & 3 deletions MAINTAINERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,12 +215,14 @@ It conforms to [the CRAN Submission policies first](https://cran.r-project.org/w
- Provide parameter values for _version_ and _description_
- Click on the button 'Run workflow'
- Make sure job execution was successful by checking the status
- If all is good, you should see a new tweet on [ProcessAnalyti1](https://twitter.com/ProcessAnalyti1) and a new message on the [news](https://discord.com/channels/1011911769607913562/1024329159033499780) channel of Process Analytics server on Discord.
- If all is good, you should see a new message on the [news](https://discord.com/channels/1011911769607913562/1024329159033499780) channel of Process Analytics server on Discord.

___
⚠️⚠️⚠️ _**Only if the [jobs](https://github.com/process-analytics/bpmn-visualization-R/actions/workflows/announce-new-release.yml) does NOT work!**_ ⚠️⚠️⚠️
### Twitter

It is no longer possible to post a tweet with the API without a paid plan (and we only have a free plan). See [#239](https://github.com/process-analytics/bpmn-visualization-R/issues/239) for more details.

So, create the tweet manually on [ProcessAnalyti1](https://twitter.com/ProcessAnalyti1).

You can use this template:

> 📣 bpmnVisualizationR {version} is out! 🎉
Expand All @@ -231,6 +233,8 @@ You can use this template:
>
> https://github.com/process-analytics/bpmn-visualization-R/releases/tag/v{version}
___
⚠️⚠️⚠️ _**Only if the [jobs](https://github.com/process-analytics/bpmn-visualization-R/actions/workflows/announce-new-release.yml) does NOT work!**_ ⚠️⚠️⚠️
### Discord

Channel: [news](https://discord.com/channels/1011911769607913562/1024329159033499780)
Expand Down

0 comments on commit c25540b

Please sign in to comment.