Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nheko
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
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nheko Reborn
nheko
Commits
287dff89
Commit
287dff89
authored
7 years ago
by
Konstantinos Sideris
Browse files
Options
Downloads
Patches
Plain Diff
ci: Don't build artifacts on commits without a tag
parent
f7003dde
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.ci/linux/create-packages.sh
+7
-3
7 additions, 3 deletions
.ci/linux/create-packages.sh
.ci/linux/deploy.sh
+5
-0
5 additions, 0 deletions
.ci/linux/deploy.sh
.ci/macos/deploy.sh
+6
-0
6 additions, 0 deletions
.ci/macos/deploy.sh
with
18 additions
and
3 deletions
.ci/linux/create-packages.sh
+
7
−
3
View file @
287dff89
...
@@ -5,7 +5,11 @@
...
@@ -5,7 +5,11 @@
#
#
DIR
=
package.dir
DIR
=
package.dir
VERSION
=
`
git tag
-l
--points-at
HEAD
`
TAG
=
`
git tag
-l
--points-at
HEAD
`
if
[
-z
"
$TAG
"
]
;
then
exit
0
fi
# Installing dependencies on travis.
# Installing dependencies on travis.
if
[
!
-z
"
$TRAVIS_OS_NAME
"
]
;
then
if
[
!
-z
"
$TRAVIS_OS_NAME
"
]
;
then
...
@@ -38,7 +42,7 @@ fpm --force \
...
@@ -38,7 +42,7 @@ fpm --force \
--name
nheko
\
--name
nheko
\
--description
"Desktop client for the Matrix protocol"
\
--description
"Desktop client for the Matrix protocol"
\
--url
"https://github.com/mujx/nheko"
\
--url
"https://github.com/mujx/nheko"
\
--version
${
VERSION
}
\
--version
${
TAG
}
\
--architecture
x86_64
\
--architecture
x86_64
\
--maintainer
"mujx (https://github.com/mujx)"
\
--maintainer
"mujx (https://github.com/mujx)"
\
--license
"GPLv3"
\
--license
"GPLv3"
\
...
@@ -46,4 +50,4 @@ fpm --force \
...
@@ -46,4 +50,4 @@ fpm --force \
--deb-no-default-config-files
\
--deb-no-default-config-files
\
--chdir
${
DIR
}
usr
--chdir
${
DIR
}
usr
fpm
-s
deb
-t
rpm nheko_
${
VERSION
}
_amd64.deb
fpm
-s
deb
-t
rpm nheko_
${
TAG
}
_amd64.deb
This diff is collapsed.
Click to expand it.
.ci/linux/deploy.sh
+
5
−
0
View file @
287dff89
...
@@ -4,6 +4,11 @@ set -e
...
@@ -4,6 +4,11 @@ set -e
APP
=
nheko
APP
=
nheko
DIR
=
${
APP
}
.AppDir
DIR
=
${
APP
}
.AppDir
TAG
=
`
git tag
-l
--points-at
HEAD
`
if
[
-z
"
$TAG
"
]
;
then
exit
0
fi
# Set up AppImage structure.
# Set up AppImage structure.
mkdir
-p
${
DIR
}
/usr/
{
bin,share/pixmaps,share/applications
}
mkdir
-p
${
DIR
}
/usr/
{
bin,share/pixmaps,share/applications
}
...
...
This diff is collapsed.
Click to expand it.
.ci/macos/deploy.sh
+
6
−
0
View file @
287dff89
...
@@ -2,6 +2,12 @@
...
@@ -2,6 +2,12 @@
set
-e
set
-e
TAG
=
`
git tag
-l
--points-at
HEAD
`
if
[
-z
"
$TAG
"
]
;
then
exit
0
fi
# Add Qt binaries to path
# Add Qt binaries to path
PATH
=
/usr/local/opt/qt/bin/:
${
PATH
}
PATH
=
/usr/local/opt/qt/bin/:
${
PATH
}
...
...
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