0
0

More than 3 years have passed since last update.

[GitHub Actions] Flutter Web とかで html 埋込みの Firebase JS SDK を自動更新する

Last updated at Posted at 2020-06-15

Actions 公開した

無かったので作りました。
replace-deps actions

image
例として flutter web, firebase を挙げていますが、何にでも使えます。
パッケージマネージャ管轄外の依存関係を自動更新したい時 に使います。
(特定の拡張子 を持つファイル内の 特定の文字列 を置換する actions に過ぎない)

背景

flutter web で puspec 管轄外の firebase js sdk を自動更新したくなった

そんな気持ちの中、Google の Cloud Functions の PR 見てたら、まさにそれっぽいことやってる PR を偶然見つけました。
これの詳細を追うと、GCP/repository-gardener の shell script に辿り着きます。
「なるほど、shell で更新 script 書いて、数々の repository に PR を投げているんだ」と分かります。

というわけで、これに似た script を GitHub Actions に適した形で書き起こしたのが replace-deps です。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0