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
ffb43836
Commit
ffb43836
authored
6 years ago
by
Konstantinos Sideris
Browse files
Options
Downloads
Patches
Plain Diff
Remove the pseudo deb & rpm packages from releases
parent
5aff3e43
No related branches found
Branches containing commit
Tags
nightly
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
+0
-65
0 additions, 65 deletions
.ci/linux/create-packages.sh
.travis.yml
+0
-6
0 additions, 6 deletions
.travis.yml
Makefile
+0
-1
0 additions, 1 deletion
Makefile
with
0 additions
and
72 deletions
.ci/linux/create-packages.sh
deleted
100755 → 0
+
0
−
65
View file @
5aff3e43
#!/usr/bin/env bash
set
-ex
#
# Create deb & rpm packages from the AppImage.
#
DIR
=
package.dir
TAG
=
`
git tag
-l
--points-at
HEAD
`
# Strip `v` from the version tag.
if
[[
$TAG
==
v
*
]]
;
then
TAG
=
${
TAG
#?
}
;
fi
# Prepend nightly with the latest version.
if
[[
$TAG
==
nightly
]]
;
then
TAG
=
${
TRAVIS_BUILD_NUMBER
}
.nightly
fi
if
[
-z
"
$TAG
"
]
;
then
TAG
=
`
git rev-parse
--abbrev-ref
HEAD
`
fi
# Installing dependencies on travis.
if
[
!
-z
"
$TRAVIS_OS_NAME
"
]
;
then
sudo
apt-add-repository
-y
ppa:brightbox/ruby-ng
sudo
apt-get update
-qq
sudo
apt-get
install
-y
ruby2.1 ruby-switch
sudo
ruby-switch
--set
ruby2.1
sudo
apt-get
install
-y
ruby2.1-dev rpm libffi-dev
sudo
gem
install
--no-ri
--no-rdoc
fpm
fi
# Set up deb structure.
mkdir
-p
${
DIR
}
/usr/
{
bin,share/pixmaps,share/applications
}
# Copy resources.
cp
nheko
*
.AppImage
${
DIR
}
/usr/bin/nheko
cp
resources/nheko.desktop
${
DIR
}
/usr/share/applications/nheko.desktop
cp
resources/nheko.png
${
DIR
}
/usr/share/pixmaps/nheko.png
for
iconSize
in
16 32 48 64 128 256 512
;
do
IconDir
=
${
DIR
}
/usr/share/icons/hicolor/
${
iconSize
}
x
${
iconSize
}
/apps
mkdir
-p
${
IconDir
}
cp
resources/nheko-
${
iconSize
}
.png
${
IconDir
}
/nheko.png
done
fpm
--force
\
-s
dir
\
--output-type
deb
\
--name
nheko
\
--description
"Desktop client for the Matrix protocol"
\
--url
"https://github.com/mujx/nheko"
\
--version
${
TAG
}
\
--architecture
x86_64
\
--maintainer
"mujx (https://github.com/mujx)"
\
--license
"GPLv3"
\
--prefix
/
\
--deb-no-default-config-files
\
--chdir
${
DIR
}
usr
fpm
-s
deb
-t
rpm nheko_
${
TAG
}
_amd64.deb
This diff is collapsed.
Click to expand it.
.travis.yml
+
0
−
6
View file @
ffb43836
...
...
@@ -59,10 +59,6 @@ install:
script
:
-
./.ci/script.sh
before_deploy
:
-
export RELEASE_DEB_FILE=$(ls *.deb)
-
export RELEASE_RPM_FILE=$(ls *.rpm)
deploy
:
-
skip_cleanup
:
true
overwrite
:
true
...
...
@@ -72,8 +68,6 @@ deploy:
file_glob
:
true
file
:
-
nheko-x86_64.AppImage
-
$RELEASE_DEB_FILE
-
$RELEASE_RPM_FILE
on
:
condition
:
$TRAVIS_OS_NAME == linux && $DEPLOYMENT ==
1
repo
:
mujx/nheko
...
...
This diff is collapsed.
Click to expand it.
Makefile
+
0
−
1
View file @
ffb43836
...
...
@@ -28,7 +28,6 @@ debian-image:
linux-deploy
:
./.ci/linux/deploy.sh
./.ci/linux/create-packages.sh
macos-deploy
:
./.ci/macos/deploy.sh
...
...
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