GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Embed Notice

HTML Code

Corresponding Notice

  1. Embed this notice
    Alex Gleason (alex@gleasonator.com)'s status on Monday, 09-Jan-2023 07:49:25 JSTAlex GleasonAlex Gleason

    Linux people, gimme a hand. I want this to crash if the inner command crashes. Currently it writes the error out(?) to the file:

    echo "EXTRA_DESCRIPTION=$(npx ts-node ./scripts/changelog.ts $CI_COMMIT_TAG)" >> variables.env

    If npx ts-node ./scripts/changelog.ts $CI_COMMIT_TAG crashes, I want it to exit 1.

    In the happy case, variables.env is a text file which contains EXTRA_DESCRIPTION="result of command"

    This is in my CI. How?

    In conversationMonday, 09-Jan-2023 07:49:25 JST from gleasonator.compermalink

    Attachments


  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.