Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

github action: enforce issue detection with bash#8168

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
earlephilhower merged 5 commits intoesp8266:masterfromd-a-v:enforceCI
Jun 24, 2021

Conversation

@d-a-v
Copy link
Collaborator

Per discussion with@mcspr.

When not specifiyingbash as running shell, default options do not include-o pipefailas it should.
It may not prevent a script to stop when one component of a pipe chain fails (ex:false | true won't fail but it should).
As a consequence in this PR,bash isexplicitely specified as default shell.

Also enforcing issue detection by breaking down commands
echo "$(command)" >> file =>var=$(command) thenecho ${var} >> file

run:|
# Sets an environment variable used in the next steps
echo "TRAVIS_TAG=$(git describe --exact-match --tags)" >> $GITHUB_ENV
TRAVIS_TAG=$(git describe --exact-match --tags)"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
TRAVIS_TAG=$(git describe --exact-match --tags)"
TRAVIS_TAG=$(git describe --exact-match --tags)

(I typed this wrong)

Copy link
CollaboratorAuthor

Choose a reason for hiding this comment

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

Thanks for reviewing (I didn't make a copy-paste, It's simply that I made the same mistake)

mcspr reacted with thumbs up emoji
Copy link
Collaborator

@earlephilhowerearlephilhower left a comment

Choose a reason for hiding this comment

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

Silly GH CI bug, good catch.

@d-a-vd-a-v added this to the3.0.1 milestoneJun 24, 2021
@earlephilhowerearlephilhower merged commit04c2322 intoesp8266:masterJun 24, 2021
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@mcsprmcsprmcspr left review comments

@earlephilhowerearlephilhowerearlephilhower approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

3.0.1

Development

Successfully merging this pull request may close these issues.

3 participants

@d-a-v@earlephilhower@mcspr

[8]ページ先頭

©2009-2025 Movatter.jp