Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
nshmp-haz
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ghsc
National Seismic Hazard Model Project
nshmp-haz
Merge requests
!612
Resolves - Add Version Info
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolves - Add Version Info
ghsc/users/bclayton/nshmp/nshmp-haz:version
into
main
Overview
0
Commits
15
Pipelines
0
Changes
13
Merged
Clayton, Brandon Scott
requested to merge
ghsc/users/bclayton/nshmp/nshmp-haz:version
into
main
2 years ago
Overview
0
Commits
15
Pipelines
0
Changes
3
Expand
Resolves
#487 (closed)
0
0
Merge request reports
Compare
version 2
version 4
5b0d9792
2 years ago
version 3
8f4e36f7
2 years ago
version 2
ceab015e
2 years ago
version 1
acd003fb
2 years ago
main (base)
and
version 3
latest version
05c3f695
15 commits,
2 years ago
version 4
5b0d9792
14 commits,
2 years ago
version 3
8f4e36f7
13 commits,
2 years ago
version 2
ceab015e
11 commits,
2 years ago
version 1
acd003fb
10 commits,
2 years ago
Show latest version
3 files
+
8
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
gradle/app-version.gradle
+
2
−
1
Options
@@ -6,8 +6,9 @@ tasks.withType(JavaCompile) {
new
File
(
versionFile
.
getParent
()).
mkdirs
()
def
details
=
versionDetails
()
def
ciProjectUrl
=
System
.
getenv
(
"CI_PROJECT_URL"
)
def
branch
=
System
.
getenv
(
"CI_COMMIT_BRANCH"
)
def
versionInfo
=
[
branchName:
details
.
branchName
,
branchName:
branch
?
branch
:
details
.
branchName
,
commitDistance:
details
.
commitDistance
,
gitHash:
details
.
gitHash
,
gitHashFull:
details
.
gitHashFull
,
Loading