Skip to content
This repository has been archived by the owner on May 21, 2021. It is now read-only.

Validate new version #24

Merged
merged 1 commit into from
May 14, 2021
Merged

Validate new version #24

merged 1 commit into from
May 14, 2021

Conversation

rekmarks
Copy link
Member

@rekmarks rekmarks commented May 10, 2021

Validates the new version after getting all git tags and computing it from the action inputs. Previously, we only validated that the inputs were formatted correctly, but we weren't checking whether the new version was greater than the previous/current version or whether a tag already existed for the new version. While here, we also fix up some mocks in update.test.ts.

Kudos to @Gudahtt for reminding me that this is a good idea by implementing some of it in MetaMask/auto-changelog.

@rekmarks rekmarks force-pushed the changelog-updating branch from af9b7c6 to 56af347 Compare May 11, 2021 18:52
@rekmarks rekmarks mentioned this pull request May 11, 2021
Base automatically changed from changelog-updating to main May 12, 2021 19:31
@rekmarks rekmarks force-pushed the validate-new-version branch from a033637 to 38d3eef Compare May 12, 2021 19:45
@rekmarks rekmarks changed the base branch from main to manifest-validation May 12, 2021 19:45
Base automatically changed from manifest-validation to main May 13, 2021 22:01
@rekmarks rekmarks force-pushed the validate-new-version branch from 38d3eef to 9627e61 Compare May 13, 2021 22:12
@rekmarks rekmarks marked this pull request as ready for review May 13, 2021 22:12
Copy link
Member

@Gudahtt Gudahtt left a comment

Choose a reason for hiding this comment

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

LGTM!

@rekmarks rekmarks merged commit 9192a7d into main May 14, 2021
@rekmarks rekmarks deleted the validate-new-version branch May 14, 2021 15:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants