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

feat!: add publishable flag #24

Merged
merged 16 commits into from
Dec 6, 2022
Merged

feat!: add publishable flag #24

merged 16 commits into from
Dec 6, 2022

Conversation

erickzanardo
Copy link
Contributor

@erickzanardo erickzanardo commented Nov 23, 2022

Status

HOLD

Description

Adds a publisable flag to the brick which will be used to decide if we will add the pana workflow and the publish_to field to the pubspec.

Fixes #22

Type of Change

  • ✨ New feature (non-breaking change which adds functionality)
  • 🛠️ Bug fix (non-breaking change which fixes an issue)
  • ❌ Breaking change (fix or feature that would cause existing functionality to change)
  • 🧹 Code refactor
  • ✅ Build configuration change
  • 📝 Documentation
  • 🗑️ Chore

renancaraujo
renancaraujo previously approved these changes Nov 24, 2022
@wolfenrain
Copy link
Member

Thoughts on also removing CHANGELOG and LICENSE when it is not publishable?

@erickzanardo
Copy link
Contributor Author

Thoughts on also removing CHANGELOG and LICENSE when it is not publishable?

Added!

await Future.wait(
Directory('patches').listSync().map(
(file) async {
await runGit(
Copy link
Contributor

Choose a reason for hiding this comment

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

Holy crap

renancaraujo
renancaraujo previously approved these changes Nov 29, 2022
tool/generator/main.dart Outdated Show resolved Hide resolved
patches/pana.patch Outdated Show resolved Hide resolved
renancaraujo
renancaraujo previously approved these changes Nov 29, 2022
wolfenrain
wolfenrain previously approved these changes Nov 29, 2022
tool/generator/main.dart Outdated Show resolved Hide resolved
Co-authored-by: Felix Angelov <felangelov@gmail.com>
felangel
felangel previously approved these changes Nov 29, 2022
@felangel felangel changed the title feat: add publishable flag feat!: add publishable flag Nov 29, 2022
brick/brick.yaml Outdated Show resolved Hide resolved
Co-authored-by: Felix Angelov <felangelov@gmail.com>
brick/brick.yaml Outdated Show resolved Hide resolved
@felangel felangel marked this pull request as draft November 29, 2022 20:10
Co-authored-by: Felix Angelov <felangelov@gmail.com>
@erickzanardo
Copy link
Contributor Author

FYI @wolfenrain @renancaraujo and @felangel This is ready for review (and probably merging) but we are holding this open until we have made the same change on the other bricks, so we can do the change on the CLI on a single task, lowering the chance that we forget to do the correct version publishing since this is a breaking change.

@renancaraujo renancaraujo marked this pull request as ready for review November 30, 2022 12:56
@renancaraujo renancaraujo marked this pull request as draft November 30, 2022 12:57
@erickzanardo erickzanardo marked this pull request as ready for review November 30, 2022 20:45
@felangel felangel merged commit b192f4d into main Dec 6, 2022
@felangel felangel deleted the feat/publisable-flag branch December 6, 2022 21:07
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.

Add pana workflow via publish flag
4 participants