FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
utPLSQL/.github/workflows/release.yml at develop · utPLSQL/utPLSQL · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
utPLSQL
/
utPLSQL
Public
Notifications
You must be signed in to change notification settings
Fork
189
Star
622
Code
Issues
12
Pull requests
0
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
utPLSQL
/
.github
/
workflows
/
release.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
82 lines (69 loc) · 2.87 KB
Breadcrumbs
utPLSQL
/
.github
/
workflows
/
release.yml
Copy path
File metadata and controls
82 lines (69 loc) · 2.87 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
name
:
Create and publish release artifacts
on
:
release
:
types
:
[ released ]
#
See: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#example-using-multiple-events-with-activity-types-or-configuration
defaults
:
run
:
shell
:
bash
jobs
:
upload_artifacts
:
name
:
Upload archives
concurrency
:
upload
runs-on
:
ubuntu-latest
timeout-minutes
:
60
env
:
API_TOKEN_GITHUB
:
${{ secrets.API_TOKEN_GITHUB }}
RELEASE_TAG
:
${{ github.event.release.tag_name }}
RELEASE_BODY
:
${{ github.event.release.body }}
RELEASE_DATE
:
${{ github.event.release.published_at }}
RELEASE_URL
:
${{ github.event.release.html_url }}
TARGET_BRANCH
:
${{ github.event.release.target_commitish }}
steps
:
-
uses
:
actions/checkout@v4
with
:
fetch-depth
:
0
token
:
${{ env.API_TOKEN_GITHUB }}
-
uses
:
c-py/action-dotenv-to-setenv@v5
with
:
env-file
:
.github/variables/.env
-
uses
:
FranzDiebold/github-env-vars-action@v2.8.0
#
https://github.com/marketplace/actions/github-environment-variables-action
-
name
:
Update CHANGELOG.md with release notes
run
:
.github/scripts/update_changelog.sh
-
name
:
Set build version number env variables
run
:
.github/scripts/set_release_version_numbers_env.sh
-
name
:
Update project version & build number in source code and documentation
run
:
.github/scripts/update_project_version.sh
-
name
:
Build and publish documentation
run
:
|
pip install mkdocs
pip install mkdocs-git-revision-date-localized-plugin
pip install mkdocs-material
pip install git+https://github.com/jimporter/mike.git
pip install mkdocs-git-committers-plugin-2
mike deploy -p -u ${UTPLSQL_VERSION} latest
mkdocs build --clean -f mkdocs_offline.yml
rm -rf docs/*
cp -r -v site/* docs
git add .
git commit -m "tmp commit of HTML documentation for building a release archive"
-
name
:
Build release archives
run
:
|
git archive --prefix=utPLSQL/ -o utPLSQL.zip --format=zip HEAD
git archive --prefix=utPLSQL/ -o utPLSQL.tar.gz --format=tar.gz HEAD
sha256sum utPLSQL.zip --tag > utPLSQL.zip.sha256
sha256sum utPLSQL.tar.gz --tag > utPLSQL.tar.gz.sha256
-
name
:
Release
uses
:
softprops/action-gh-release@v1
with
:
files
:
|
utPLSQL.zip
utPLSQL.zip.sha256
utPLSQL.tar.gz
utPLSQL.tar.gz.sha256
-
name
:
Post release announcement to org discussions
env
:
GH_TOKEN
:
${{ secrets.API_TOKEN_GITHUB }}
run
:
.github/scripts/post_release_announcement.sh
-
name
:
Publish release post to utplsql.github.io
run
:
.github/scripts/publish_release_post.sh
Back
|
FazBrowse Home
|
New Git URL