FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
opencode/github/script/publish at dev · barracoder/opencode · GitHub
barracoder
/
opencode
Public
forked from
anomalyco/opencode
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
opencode
/
github
/
script
/
publish
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
15 lines (13 loc) · 403 Bytes
Breadcrumbs
opencode
/
github
/
script
/
publish
Copy path
File metadata and controls
executable file
·
15 lines (13 loc) · 403 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
#!
/usr/bin/env bash
#
Get the latest Git tag
latest_tag=
$(
git tag --sort=committerdate
|
grep -E
'
^github-v[0-9]+\.[0-9]+\.[0-9]+$
'
|
tail -1
)
if
[
-z
"
$latest_tag
"
]
;
then
echo
"
No tags found
"
exit
1
fi
echo
"
Latest tag:
$latest_tag
"
#
Update latest tag
git tag -d latest
git push origin :refs/tags/latest
git tag -a latest
$latest_tag
-m
"
Update latest to
$latest_tag
"
git push origin latest
Back
|
FazBrowse Home
|
New Git URL