Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
pleroma
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
372
Issues
372
List
Boards
Labels
Service Desk
Milestones
Merge Requests
56
Merge Requests
56
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Pleroma
pleroma
Commits
c00797d0
Commit
c00797d0
authored
Oct 14, 2019
by
rinpatch
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix/version-branch-skip' into 'stable'
Fix hiding branch name logic See merge request
!1845
parents
988654a7
0733da32
Pipeline
#18785
passed with stages
in 64 minutes and 31 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
mix.exs
mix.exs
+1
-1
No files found.
mix.exs
View file @
c00797d0
...
...
@@ -216,7 +216,7 @@ defp version(version) do
branch_name
<-
String
.
trim
(
branch_name
),
branch_name
<-
System
.
get_env
(
"PLEROMA_BUILD_BRANCH"
)
||
branch_name
,
true
<-
!Enum
.
a
ll
?
([
"master"
,
"HEAD"
,
"release/"
,
"stable"
],
fn
name
->
!Enum
.
a
ny
?
([
"master"
,
"HEAD"
,
"release/"
,
"stable"
],
fn
name
->
String
.
starts_with?
(
name
,
branch_name
)
end
)
do
branch_name
=
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment