GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — apps/script/release.sh at master · httpsreporter/apps

Expand file tree

/

release.sh

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
executable file
·
31 lines (26 loc) · 862 Bytes
/

release.sh

Copy path

File metadata and controls

executable file
·
31 lines (26 loc) · 862 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/usr/bin/env bash
set -v # print commands before execution, but don't expand env vars in output
set -o errexit # always exit on error
set -o pipefail # honor exit codes when piping
set -o nounset # fail on unset variables
git clone "https://electron-bot:$GH_TOKEN@github.com/electron/apps" app
cd app
npm ci
npm run test-all
# bail if nothing changed
if [ "$(git status --porcelain)" = "" ]; then
echo "no new content found; goodbye!"
exit
fi
git config user.email [email protected]
git config user.name electron-bot
git add .
git commit -am "update apps" --author "Electron Bot <[email protected]>"
npm version minor -m "bump minor to %s"
git pull --rebase
git push origin master
git push origin master --tags
echo //registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN} > .npmrc
npm publish
npm pack
node ./script/publish-to-gh.js
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.