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

output updated files to stdout #107

Merged
merged 1 commit into from
Oct 21, 2023
Merged

output updated files to stdout #107

merged 1 commit into from
Oct 21, 2023

Conversation

Songmu
Copy link
Member

@Songmu Songmu commented Oct 21, 2023

標準出力に更新されたファイルを出す。それによりシェル上でパイプなどで後続の処理をやりやすくする。

具体的には以下のワークフローでは、下書き作成時に、タイトルから頑張って出力されたファイルを逆引きしているが、それだと多分タイトルが被った時とかにエッジケースがあるし処理が煩雑になる。

https://github.com/hatena/hatenablog-workflows

標準出力に出すようにすれば、それを使えば良い。

@coveralls
Copy link

Pull Request Test Coverage Report for Build 6597947957

  • 1 of 2 (50.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.008%) to 31.32%

Changes Missing Coverage Covered Lines Changed/Added Lines %
broker.go 1 2 50.0%
Totals Coverage Status
Change from base Build 6597874109: 0.008%
Covered Lines: 223
Relevant Lines: 712

💛 - Coveralls

@Songmu Songmu merged commit 5fe10ba into master Oct 21, 2023
7 checks passed
@Songmu Songmu deleted the stdout-files branch October 21, 2023 14:34
@github-actions github-actions bot mentioned this pull request Oct 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants