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.envIf 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?
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.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.