Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix pubspec description #243

Merged
merged 2 commits into from
Apr 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 37 additions & 37 deletions .github/workflows/pub-lish.yml
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
name: 'pub-lish'
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+*'
branches:
- main
jobs:
pub-lish:
name: 'publish to pub.dev'
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: 'checkout'
uses: actions/checkout@v4
- name: 'setup flutter'
uses: subosito/flutter-action@v2
with:
channel: 'stable'
- name: 'setup credentials'
run: |
mkdir $HOME/.pub-cache/ && \
touch $HOME/.pub-cache/credentials.json && \
cat <<EOF > $HOME/.pub-cache/credentials.json
{
"accessToken":"${{ secrets.PUB_DEV_PUBLISH_ACCESS_TOKEN }}",
"refreshToken":"${{ secrets.PUB_DEV_PUBLISH_REFRESH_TOKEN }}",
"tokenEndpoint":"https://accounts.google.com/o/oauth2/token",
"scopes":["https://www.googleapis.com/auth/userinfo.email","openid"],
"expiration":${{ secrets.PUB_DEV_PUBLISH_EXPIRATION }}
}
EOF
- name: 'install melos'
uses: bluefireteam/melos-action@v1
- name: 'publishing'
run: |
yes | melos publish --no-dry-run --git-tag-version
# name: 'pub-lish'
# on:
# push:
# tags:
# - 'v[0-9]+.[0-9]+.[0-9]+*'
# branches:
# - main
# jobs:
# pub-lish:
# name: 'publish to pub.dev'
# runs-on: ubuntu-latest
# timeout-minutes: 10
# steps:
# - name: 'checkout'
# uses: actions/checkout@v4
# - name: 'setup flutter'
# uses: subosito/flutter-action@v2
# with:
# channel: 'stable'
# - name: 'setup credentials'
# run: |
# mkdir $HOME/.pub-cache/ && \
# touch $HOME/.pub-cache/credentials.json && \
# cat <<EOF > $HOME/.pub-cache/credentials.json
# {
# "accessToken":"${{ secrets.PUB_DEV_PUBLISH_ACCESS_TOKEN }}",
# "refreshToken":"${{ secrets.PUB_DEV_PUBLISH_REFRESH_TOKEN }}",
# "tokenEndpoint":"https://accounts.google.com/o/oauth2/token",
# "scopes":["https://www.googleapis.com/auth/userinfo.email","openid"],
# "expiration":${{ secrets.PUB_DEV_PUBLISH_EXPIRATION }}
# }
# EOF
# - name: 'install melos'
# uses: bluefireteam/melos-action@v1
# - name: 'publishing'
# run: |
# yes | melos publish --no-dry-run --git-tag-version

2 changes: 1 addition & 1 deletion packages/yak_flutter/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: yak_flutter
description: A collection of tools and extensions for Flutter.
description: A collection of tools, widgets and extensions for Flutter framework.
version: 3.0.1
homepage: https://github.com/yakforward-ou/yak_packages

Expand Down