Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Metabase
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
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
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Engineering Digital Service
Metabase
Commits
9a7e8081
Commit
9a7e8081
authored
8 years ago
by
Allen Gilliland
Browse files
Options
Downloads
Patches
Plain Diff
add a simple script for creating and uploading the Metabase version information. [ci skip]
parent
3f0a7668
No related branches found
Branches containing commit
No related tags found
Tags containing commit
Loading
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bin/update-version-info
+71
-0
71 additions, 0 deletions
bin/update-version-info
with
71 additions
and
0 deletions
bin/update-version-info
0 → 100755
+
71
−
0
View file @
9a7e8081
#!/usr/bin/env bash
# Generate the version-info.json file which provides basic information about the latest versions of Metabase available.
# This is used inside the Metabase application as a simple mechanism to be aware if an upgrade is available.
build
()
{
echo
'{
"latest": {
"version": "v0.18.0",
"released": "2016-05-04T21:09:36.358Z",
"patch": false,
"highlights": [
"Notifications about available Metabase updates"
]
},
"older": [
{
"version": "v0.17.1",
"released": "2016-05-04T21:09:36.358Z",
"patch": true,
"highlights": [
""
]
},
{
"version": "v0.17.0",
"released": "2016-05-04T21:09:36.358Z",
"patch": false,
"highlights": [
"Tags + Search for Saved Questions",
"Calculated columns",
"Faster Syncing of Metadata",
"Lots of database driver improvements and bug fixes"
]
},
{
"version": "v0.16.1",
"released": "2016-05-04T21:09:36.358Z",
"patch": true,
"highlights": [
"Fixes for several time alignment issues (timezones)",
"Resolved problem with SQL Server db connections"
]
},
{
"version": "v0.16.0",
"released": "2016-05-04T21:09:36.358Z",
"patch": false,
"highlights": [
"Fullscreen (and fabulous) Dashboards",
"Say hello to Metabot in Slack"
]
}
]
}'
>
/tmp/version-info.json
}
upload
()
{
# send the current file to s3
aws s3
cp
/tmp/version-info.json
"s3://static.metabase.com/version-info.json"
}
publish
()
{
build
&&
upload
&&
rm
/tmp/version-info.json 2> /dev/null
}
if
[
"
$1
"
]
;
then
$1
else
publish
fi
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment