Skip to content

[MM-232] Update plugin with respect to phase 1 upgrades#72

Open
ayusht2810 wants to merge 2 commits into
mattermost-community:masterfrom
Brightscout:MM-232
Open

[MM-232] Update plugin with respect to phase 1 upgrades#72
ayusht2810 wants to merge 2 commits into
mattermost-community:masterfrom
Brightscout:MM-232

Conversation

@ayusht2810

Copy link
Copy Markdown

Summary

Updated plugin with respect to phase 1 upgrades

Ticket Link

@ayusht2810
ayusht2810 requested a review from hanzei as a code owner February 20, 2024 04:29
@hanzei hanzei added the 2: Dev Review Requires review by a core committer label Feb 20, 2024

@hanzei hanzei left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for updating the plugin, a few questions below

Comment thread README.md
Comment on lines +40 to +48

### Releasing new versions

The version of a plugin is determined at compile time, automatically populating a `version` field in the [plugin manifest](plugin.json):
* If the current commit matches a tag, the version will match after stripping any leading `v`, e.g. `1.3.1`.
* Otherwise, the version will combine the nearest tag with `git rev-parse --short HEAD`, e.g. `1.3.1+d06e53e1`.
* If there is no version tag, an empty version will be combined with the short hash, e.g. `0.0.0+76081421`.

To disable this behaviour, manually populate and maintain the `version` field.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the README should clarify the practice used in this particular plugin.

Comment thread go.mod Outdated
Comment thread plugin.json
Comment on lines -7 to -8
"release_notes_url": "https://github.com/mattermost/mattermost-plugin-memes/releases/tag/v1.5.0",
"version": "1.5.0",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a consensus to use the auto-generated version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2: Dev Review Requires review by a core committer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants