Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

blast_repo fixes #75

Merged
merged 2 commits into from
Feb 17, 2023
Merged

blast_repo fixes #75

merged 2 commits into from
Feb 17, 2023

Conversation

devoncarew
Copy link
Contributor

auto-publish

auto-publish
@github-actions
Copy link

github-actions bot commented Feb 1, 2023

Package publishing

Package Version Status Publish tag
package:characters 1.3.0 ready to publish; merge and tag to publish v1.3.0

Documentation at https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.

@devoncarew devoncarew requested a review from lrhn February 1, 2023 21:01
@devoncarew
Copy link
Contributor Author

devoncarew commented Feb 1, 2023

@lrhn - this PR updates dart-lang/characters to use some publishing automation. To use it, you'll want to merge this PR, then tag the merged commit w/ the above version tag (v1.3.0). You can go that from the command line and then push the tags to the repo, however, I generally create the tag by creating a new github release (which also creates a tag). That can be done from https://github.com/dart-lang/characters/releases.

@devoncarew devoncarew requested a review from kevmoo February 16, 2023 19:07
README.md Outdated
@@ -131,3 +131,8 @@ Characters firstTagCharacters(Characters source) {
[String]: https://api.dart.dev/stable/2.0.0/dart-core/String-class.html "String class"
[Uint16List]: https://api.dart.dev/stable/2.0.0/dart-typed_data/Uint16List-class.html "Uint16List class"
[Uint8List]: https://api.dart.dev/stable/2.0.0/dart-typed_data/Uint8List-class.html "Uint8List class"

Copy link
Contributor

Choose a reason for hiding this comment

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

I'm meh on the update to the readme. It ONLY affects managers of the package, but it creates noise on every pub.dev page. I think we should drop it!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I can drop it. When contributing publishing automation to a mono-repo we can document on the main readme; it'll be helpful for people to better understand the workflow for contributing. And I'm less concerned now with adding repo smarts to all the individual single package repos, and instead make sure our mono-repos get all the latest automation.

Copy link
Contributor

Choose a reason for hiding this comment

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

Consider having a PUBLISHING.md file with documentation about how to publish.
The README.md is for end-users, not developers.

@devoncarew devoncarew merged commit 3281cc7 into master Feb 17, 2023
@devoncarew devoncarew deleted the blast_repo-2023_02_01T20_56_20 branch February 17, 2023 00:55
pull_request:
branches: [ master ]
push:
tags: [ 'v[0-9]+.[0-9]+.[0-9]+*' ]
Copy link
Contributor

Choose a reason for hiding this comment

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

(I think this is a glorified glob pattern, not a regexp. Very confusing to read 🤔.)

The pattern can drop the last +. It's probably benign, I don't think a glob pattern can get catastrophic backtracking, especially when there is nothing after the *. With any luck, the implementation will go to the * after seeing the first digit.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The pattern was intended to be able to capture x.y.x-something, for completeness. But thinking about it, if we really only ever intend to support publishing release versions via this automation, than dropping the suffix makes sense.

mosuem pushed a commit to dart-lang/core that referenced this pull request Oct 14, 2024
* blast_repo fixes

auto-publish

* Update README.md
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants