FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
streamlit/scripts/create_release_branch.sh at develop · streamlit/streamlit · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
streamlit
/
streamlit
Public
Notifications
You must be signed in to change notification settings
Fork
4.4k
Star
45.6k
Code
Issues
992
Pull requests
196
Actions
Security and quality
5
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
streamlit
/
scripts
/
create_release_branch.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
33 lines (30 loc) · 1.35 KB
Breadcrumbs
streamlit
/
scripts
/
create_release_branch.sh
Copy path
File metadata and controls
executable file
·
33 lines (30 loc) · 1.35 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
#!
/usr/bin/env bash
#
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2026)
#
#
Licensed under the Apache License, Version 2.0 (the "License");
#
you may not use this file except in compliance with the License.
#
You may obtain a copy of the License at
#
#
http://www.apache.org/licenses/LICENSE-2.0
#
#
Unless required by applicable law or agreed to in writing, software
#
distributed under the License is distributed on an "AS IS" BASIS,
#
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#
See the License for the specific language governing permissions and
#
limitations under the License.
set
-euo pipefail
VERSION=
$1
VERSION_BRANCH=
"
release/
${VERSION}
"
git switch --create
"
$VERSION_BRANCH
"
uv run --no-sync python scripts/update_version.py
"
$VERSION
"
#
Clear UV_LOCKED if inherited from a make_init-based environment so this
#
relock can proceed. Release automation sets up via setup_automation (which
#
does not set UV_LOCKED), so this is a defensive no-op in those flows.
env -u UV_LOCKED uv lock
#
Stage tracked updates and the lockfile explicitly. `git commit --all` skips
#
an untracked lockfile when patching a tag that predates it, and `-f` forces
#
the add even if that tag's .gitignore still lists uv.lock.
git add --update
git add -f uv.lock
git commit --message=
"
Up version to
${VERSION}
"
git push origin
"
$VERSION_BRANCH
"
Back
|
FazBrowse Home
|
New Git URL