Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automate twitter posts to use single shell command #11725

Closed
romani opened this issue Jun 11, 2022 · 2 comments · Fixed by #11745
Closed

Automate twitter posts to use single shell command #11725

romani opened this issue Jun 11, 2022 · 2 comments · Fixed by #11745

Comments

@romani
Copy link
Member

romani commented Jun 11, 2022

we need to do https://github.com/checkstyle/checkstyle/wiki/How-to-make-a-release#announcements
automatically.

we have release notes builder - https://github.com/checkstyle/contribution/tree/master/releasenotes-builder
it has ability to do posts in twitter.

TODO:
make script in checkstyle/checkstyle repo in folder ".ci", with name tweet-releasenotes.sh <git-tag>.
script should clone repo to .ci-temp checkout to that tag, build release notes, and do tweet.

Generation of token: https://developer.twitter.com/en/docs/twitter-api/getting-started/getting-access-to-the-twitter-api
for our project it is: https://developer.twitter.com/en/portal/projects/1538674835525513216/apps/24628121/keys

Please click on the DEVELOPER APP -> APP SETTING and give read-write access
image
image

ATTENTION: next step should be done only after RW permission are granted.
, then

FSDF

Now click on generate ACCESS TOKEN and SECRET,
There you will find Token and Secret Token

@Rahulkhinchi03
Copy link
Member

@romani How do you currently make posts on Twitter? Do we need to use any tool to automate publishing twitter post?

@romani
Copy link
Member Author

romani commented Jun 14, 2022

Look at code of releasenotes builder, it should already do this.
We need to wrap it with shell script to be able to run it in CI and from local easily.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants