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 — sqlobject/devscripts/prerelease at master · sqlobject/sqlobject

Expand file tree

/

prerelease

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
executable file
·
48 lines (41 loc) · 1.36 KB
/

prerelease

Copy path

File metadata and controls

executable file
·
48 lines (41 loc) · 1.36 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#! /bin/sh
if [ -z "$1" -o -n "$3" ]; then
echo "Usage: $0 new_tag [branch]" >&2
exit 1
elif [ -z "$2" ]; then
tag="$1"
else
tag="$1"
branch="$2"
fi
. `dirname $0`/split_tag.sh &&
split_tag $tag $branch
git checkout "$branch" &&
echo "
version = '$tag'
major = $major
minor = $minor
micro = $micro
release_level = '$state'
serial = $serial
version_info = (major, minor, micro, release_level, serial)" > sqlobject/__version__.py &&
sqlo_tag="SQLObject $tag" &&
sqlo_tag_len=${#sqlo_tag} &&
sed -Ei "1s/^SQLObject [1-9].+\$/$sqlo_tag/" README.rst &&
sed -Ei "2s/^==========+\$/`python -c \"print('='*$sqlo_tag_len)\"`/" README.rst &&
if [ "$state" = alpha ]; then
trove_cls='3 - Alpha'
elif [ "$state" = beta -o "$state" = 'release candidate' ]; then
trove_cls='4 - Beta'
elif [ "$state" = final -o "$state" = post ]; then
trove_cls='5 - Production\/Stable'
else
echo "Error: unknown state $state" >&2
exit 1
fi &&
sed -Ei "s/Development Status :: .+\",\$/Development Status :: $trove_cls\",/" setup.py &&
if [ "$state" = final -o "$state" = post ]; then
dbad=devscripts/build-all-docs
fi &&
`git var GIT_EDITOR` $dbad docs/News.rst ANNOUNCE.rst sqlobject/__version__.py README.rst setup.cfg setup.py &&
exec git commit --message="Release $tag" devscripts/build-all-docs docs/News.rst ANNOUNCE.rst sqlobject/__version__.py README.rst setup.cfg setup.py
You are visitor 01402503 — 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.