All Projects → semrel-extra → zx-semrel

semrel-extra / zx-semrel

Licence: MIT license
`zx`-based release script as `semantic-release` alternative (PoC)

Programming Languages

javascript
184084 projects - #8 most used programming language

Labels

Projects that are alternatives of or similar to zx-semrel

fsxx
File system in zx style
Stars: ✭ 243 (+767.86%)
Mutual labels:  zx
TommyGun
A retro development IDE for the creation of games on 8-bit computers.
Stars: ✭ 37 (+32.14%)
Mutual labels:  zx
setup
New Computer, Who Dis? – Setup new development box with a single script
Stars: ✭ 23 (-17.86%)
Mutual labels:  zx
channels
ZX Spectrum browser for forums and imageboards
Stars: ✭ 52 (+85.71%)
Mutual labels:  zx

zx-semrel

Release

zx -based release script as semantic-release alternative (PoC)

Sometimes bloody enterprise enforces you not to use any third-party solutions for sensitive operations (like release, deploy, so on). Old good script copy-paste hurries to the rescue!

Btw, here's an adaptation for monorepos: zx-bulk-release

Requirements

  • macOS / linux
  • Node.js >= 14.13.1
  • git >= 2.0
  • zx >= 1.6.0

Key features

  • Zero dependencies
  • Zero configuration
  • Pretty fast
  • Tiny, less than 140 lines with comments
  • Reliability, safety, simplicity and maintainability (sarcasm)

Functionality

🚀 Usage

  1. Copy
  2. Tweak up, inject tokens, etc
  3. Run
curl https://raw.githubusercontent.com/semrel-extra/zx-semrel/master/release.mjs > ./release.mjs
zx ./release.mjs

or this like if zx is not installed:

# Just replace GIT* env values with your own
GIT_COMMITTER_NAME=antongolub [email protected] GITHUB_TOKEN=token npx zx ./release.mjs

or just run it without any edits though npx:

# Cross your fingers for luck
GIT_COMMITTER_NAME=antongolub [email protected] GITHUB_TOKEN=token npx zx-semrel

See also gh-actions usage example

🛠️ Extras

📄 License

MIT

📎 Refs

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].