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 — mapban/version.sh at main · csmplay/mapban

Expand file tree

/

version.sh

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
executable file
·
18 lines (14 loc) · 515 Bytes
/

version.sh

Copy path

File metadata and controls

executable file
·
18 lines (14 loc) · 515 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
#!/usr/bin/env bash
# SPDX-FileCopyrightText: 2024, 2025 CyberSport Masters <[email protected]>
# SPDX-License-Identifier: AGPL-3.0-only
set -euo pipefail
if [ -z "${1:-}" ]; then
echo "Usage: $0 <patch|minor|major>" >&2
exit 1
fi
npm version "$1" || false
VERSION=$(jq -r '.version' package.json)
echo "$VERSION" >apps/frontend/public/version || false
git add apps/frontend/public/version || false
git commit --amend --no-edit --no-verify -m "chore: release v$VERSION" || false
git tag -f "v$VERSION" || false
You are visitor 01402792 — 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.