Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nextcloud
Manage
Activity
Members
Labels
Plan
Issues
2
Issue boards
Milestones
Wiki
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
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
libre.sh
docker
nextcloud
Commits
c45618e1
Commit
c45618e1
authored
2 years ago
by
Pierre Ozoux
Browse files
Options
Downloads
Patches
Plain Diff
Exclude rc versions.
parent
35d8aa1a
No related branches found
No related tags found
1 merge request
!18
Adds possibility to skip visio url.
Pipeline
#1294
passed with stages
in 4 minutes and 58 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ci/functions
+1
-1
1 addition, 1 deletion
ci/functions
with
1 addition
and
1 deletion
ci/functions
+
1
−
1
View file @
c45618e1
function prepare_env() {
function prepare_env() {
curl https://api.github.com/repos/nextcloud/server/tags?per_page=50 > /tmp/tags
curl https://api.github.com/repos/nextcloud/server/tags?per_page=50 > /tmp/tags
export MINOR_VERSION=`cat /tmp/tags | jq '.[] | select(.name|test("v'${MARKETTING_VERSION}'.")).name' | head -n1 | cut -d\" -f2 | cut -c2-`
export MINOR_VERSION=`cat /tmp/tags | jq '.[] |
select(.name|test(".rc.")|not) |
select(.name|test("v'${MARKETTING_VERSION}'.")).name' | head -n1 | cut -d\" -f2 | cut -c2-`
export PATCH_NUMBER=`curl https://raw.githubusercontent.com/nextcloud/server/v${MINOR_VERSION}/version.php | grep '$OC_Version =' | cut -d, -f4 | cut -d] -f1 | xargs`
export PATCH_NUMBER=`curl https://raw.githubusercontent.com/nextcloud/server/v${MINOR_VERSION}/version.php | grep '$OC_Version =' | cut -d, -f4 | cut -d] -f1 | xargs`
echo "MARKETTING_VERSION=$MARKETTING_VERSION"
echo "MARKETTING_VERSION=$MARKETTING_VERSION"
echo "MINOR_VERSION=$MINOR_VERSION"
echo "MINOR_VERSION=$MINOR_VERSION"
...
...
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