Skip to content

feat: add Dart and C# to supported technologies - #14

Draft
prokopsimek wants to merge 1 commit into
mainfrom
feature/more-technologies
Draft

feat: add Dart and C# to supported technologies#14
prokopsimek wants to merge 1 commit into
mainfrom
feature/more-technologies

Conversation

@prokopsimek

Copy link
Copy Markdown
Member

TODO:

  • add readme examples per each new tech
  • Dart tag matching?
  • add Java
  • add Swift
  • version new GH Action

@prokopsimek prokopsimek added the enhancement New feature or request label Nov 13, 2023
@prokopsimek prokopsimek self-assigned this Nov 13, 2023
Comment thread action.yml
# Publishing the package to pub.dev if the release is a Dart package
- name: Publish to pub.dev
# if: contains(github.event.head_commit.message, 'v[0-9]+.[0-9]+.[0-9]+*') && inputs.release-type == 'dart'
if: contains(github.event.head_commit.message, 'chore(release)') && inputs.release-type == 'dart'

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

U toho Dartu to budeme muset udělat jinak. pub.dev totiž vyžaduje publish jen z GIT tagu: https://dart.dev/tools/pub/automated-publishing#publishing-packages-using-github-actions

info Note: Pub.dev only allows automated publishing from GitHub Actions when the workflow is triggered by pushing a git tag to GitHub. Pub.dev rejects publishing from GitHub Actions triggered without a tag. This ensures that new versions cannot be published by events that should never trigger publishing.

viz https://github.com/ButterCMS/buttercms-dart/pull/9/files#diff-551d1fcf87f78cc3bc18a7b332a4dc5d8773a512062df881c5aba28a6f5c48d7

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

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants