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

Add option to deploy plugin to WP.org using GitHub Actions #194

Merged
merged 3 commits into from Apr 5, 2019

Conversation

Projects
None yet
3 participants
@sudhir-yadav
Copy link
Contributor

commented Apr 5, 2019

Use GitHub action to release plugin.

Ref: https://github.com/rtCamp/action-wp-org-plugin-deploy

When you are tagging the release please don't add v along with version_number.

git tag -a 2.0.3 -m "Tagging Version 2.0.3"

@sudhir-yadav sudhir-yadav requested review from PatelUtkarsh and thrijith Apr 5, 2019

@PatelUtkarsh PatelUtkarsh marked this pull request as ready for review Apr 5, 2019

@PatelUtkarsh

This comment has been minimized.

Copy link
Member

commented Apr 5, 2019

We will have to use lightweight tags ref: actions/bin#38 (comment)

@thrijith

This comment has been minimized.

Copy link
Member

commented Apr 5, 2019

We will have to use lightweight tags ref: actions/bin#38 (comment)

This is not a problem right now. I have tagged a release with following command and it's working.

git tag -a -s 1.0.9 -m "Tagging Version 1.0.9" for

Plugin ref: https://wordpress.org/plugins/post-contributor/
Tag ref: https://github.com/thrijith/post-contributor/releases/tag/1.0.9

0bbae44a7c254d547e46ace1b2d16b3376b1a1ac refs/remotes/origin/master
47574888e03d9f3f2a8a475e4cf673ab0c6d2087 refs/tags/1.0.9

As you can see the refs are different for tag and master still there was no issue.

Tag Action - https://github.com/thrijith/post-contributor/runs/90012934
Deploy Action - https://github.com/thrijith/post-contributor/runs/90013265

@PatelUtkarsh PatelUtkarsh merged commit 1ead558 into master Apr 5, 2019

1 of 4 checks passed

continuous-integration/travis-ci/pr The Travis CI build could not complete due to an error
Details
continuous-integration/travis-ci/push The Travis CI build could not complete due to an error
Details
tag tag
Details
WIP Ready for review
Details

@PatelUtkarsh PatelUtkarsh deleted the feature/wp-org-gh-action branch Apr 5, 2019

@thrijith thrijith referenced this pull request Apr 8, 2019

Merged

Version Update 2.0.3 #195

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.