Skip to content

Conversation

@sudhir-yadav
Copy link
Contributor

@sudhir-yadav sudhir-yadav 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"

@PatelUtkarsh PatelUtkarsh marked this pull request as ready for review April 5, 2019 08:22
@PatelUtkarsh
Copy link
Contributor

We will have to use lightweight tags ref: https://github.com/actions/bin/issues/38#issuecomment-467882751

@thrijith
Copy link
Contributor

thrijith 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
@PatelUtkarsh PatelUtkarsh deleted the feature/wp-org-gh-action branch April 5, 2019 13:44
@thrijith thrijith mentioned this pull request Apr 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants