GithubHelp home page GithubHelp logo

Comments (2)

unicornware avatar unicornware commented on August 28, 2024

did some more debugging and found the root issue - using double quotes around the --notes argument:

gh release create v2.0.0 --draft --title v2.0.0 --notes "## :pencil2: Housekeeping

* add `deps-peer` and `yarn` commit scopes ([21905de](https://github.com/flex-development/log/commit/21905def9c8569ad255759ee677fcbb6bd9a7ca2))
* run `yarn set version berry` ([4bcda50](https://github.com/flex-development/log/commit/4bcda50edbd75f013a6114edd7b9a6b5d6ff947e))
* **scripts:** add `check:dedupe` ([8ed8ce6](https://github.com/flex-development/log/commit/8ed8ce6a8fc510d3e8171812a26f9e2fc79dcb49))
* **scripts:** add `check:install` ([54304ea](https://github.com/flex-development/log/commit/54304eaa1e9284052a4296a6de79e9d2555641f0))
* **scripts:** add `clean:modules` and `clean:yarn` ([8f2b31e](https://github.com/flex-development/log/commit/8f2b31e6125494a9d8bec60f4b7f050315880a2d))
* update `lint-staged` config ([f875714](https://github.com/flex-development/log/commit/f87571445c8e1d5b3373b17fd2020641fec916d6))
* update environment variables ([d8e08d5](https://github.com/flex-development/log/commit/d8e08d509f10e32c129c6abf7bba876853b8883b))
* **yarn:** add `@yarnpkg/plugin-interactive-tools` ([aba5881](https://github.com/flex-development/log/commit/aba588102e332ca29dcd1383684b74a32992dda3))"
zsh: command not found: deps-peer
zsh: command not found: check:dedupe
zsh: command not found: check:install
zsh: command not found: clean:modules
zsh: command not found: clean:yarn
  lint-staged Loading config using `cosmiconfig` +0ms
  lint-staged Successfully loaded config from `/Users/lex/Projects/FLDV/FLDV-P010/lint-staged.config.js`:
  lint-staged {
  lint-staged   '*': [ 'yarn fix:format', 'git add -A' ],
  lint-staged   '*.{js,md,ts}': [ 'yarn fix:style', 'git add -A' ]
  lint-staged } +58ms
  lint-staged lint-staged config:
  lint-staged {
  lint-staged   '*': [ 'yarn fix:format', 'git add -A' ],
  lint-staged   '*.{js,md,ts}': [ 'yarn fix:style', 'git add -A' ]
  lint-staged } +2ms
  lint-staged Unset GIT_LITERAL_PATHSPECS (was `undefined`) +0ms
  lint-staged Tasks were executed successfully! +66ms
zsh: no such file or directory: @yarnpkg/plugin-interactive-tools
[git remote -v]
[git config --get-regexp ^remote\..*\.gh-resolved$]
* Request at 2021-09-17 17:03:04.194844 -0400 EDT m=+0.089806599
* Request to https://api.github.com/repos/flex-development/grease/releases
* Request took 676.998026ms
https://github.com/flex-development/grease/releases/tag/untagged-c3e1f766bf5fcb48b6c6

using single quotes not only gets rid of all /bin/sh: * errors, but creates GitHub releases without shell errors as well:

gh release create v2.0.0 --draft --title v2.0.0 --notes '## :pencil2: Housekeeping

* add `deps-peer` and `yarn` commit scopes ([21905de](https://github.com/flex-development/log/commit/21905def9c8569ad255759ee677fcbb6bd9a7ca2))
* run `yarn set version berry` ([4bcda50](https://github.com/flex-development/log/commit/4bcda50edbd75f013a6114edd7b9a6b5d6ff947e))
* **scripts:** add `check:dedupe` ([8ed8ce6](https://github.com/flex-development/log/commit/8ed8ce6a8fc510d3e8171812a26f9e2fc79dcb49))
* **scripts:** add `check:install` ([54304ea](https://github.com/flex-development/log/commit/54304eaa1e9284052a4296a6de79e9d2555641f0))
* **scripts:** add `clean:modules` and `clean:yarn` ([8f2b31e](https://github.com/flex-development/log/commit/8f2b31e6125494a9d8bec60f4b7f050315880a2d))
* update `lint-staged` config ([f875714](https://github.com/flex-development/log/commit/f87571445c8e1d5b3373b17fd2020641fec916d6))
* update environment variables ([d8e08d5](https://github.com/flex-development/log/commit/d8e08d509f10e32c129c6abf7bba876853b8883b))
* **yarn:** add `@yarnpkg/plugin-interactive-tools` ([aba5881](https://github.com/flex-development/log/commit/aba588102e332ca29dcd1383684b74a32992dda3))'
[git remote -v]
[git config --get-regexp ^remote\..*\.gh-resolved$]
* Request at 2021-09-17 15:54:36.829576 -0400 EDT m=+0.042332924
* Request to https://api.github.com/repos/flex-development/grease/releases
* Request took 435.387197ms
https://github.com/flex-development/grease/releases/tag/untagged-cbbb0e8f92253458fae3

Screen Shot 2021-09-17 at 4 55 24 PM

the shell-quote library could still be integrated if necessary, but the main fix is to use single quotes.

from grease.

github-actions avatar github-actions commented on August 28, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. Make sure to reference this issue.

from grease.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.