Skip to content

Commit

Permalink
dev: update packaging script
Browse files Browse the repository at this point in the history
  • Loading branch information
olt committed Apr 9, 2024
1 parent 24718d6 commit 7fef3ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ Installation
[Binary releases are available at GitHub.](https://github.com/omniscale/imposm3/releases)

These builds are for x86 64bit Linux and require *no* further dependencies. Download, untar and start `imposm`.
Binaries are compatible with Debian 8, Ubuntu 14.04 and SLES 12 (and newer versions). Older Imposm binaries (<=0.4) also support Debian 6, RHEL 6 and SLES 11.
Older versions are available at <http://imposm.org/static/rel/>.
Binaries are compatible with Debian 10 and other distributions from 2022 or
newer. You can build from source if you need to support older distributions.

### Source

Expand Down
11 changes: 2 additions & 9 deletions packaging.sh
Original file line number Diff line number Diff line change
Expand Up @@ -129,15 +129,15 @@ pushd $IMPOSM_SRC
git config --add receive.denyCurrentBranch ignore

pushd /vagrant
git push --all -f $IMPOSM_SRC
git push --tags -f $IMPOSM_SRC
popd

git reset --hard
git checkout $REVISION

echo '-> compiling imposm'
make clean
LEVELDB_POST_121=1 make build
make build
popd


Expand Down Expand Up @@ -171,11 +171,4 @@ pushd $BUILD_BASE
tar zcvf imposm-$VERSION.tar.gz imposm-$VERSION
mkdir -p /vagrant/dist
mv imposm-$VERSION.tar.gz /vagrant/dist/

echo "###########################################################################"
echo " Call the following commands to download the created binary packages:"
echo
echo "vagrant ssh-config > .vagrant_ssh_conf"
echo "rsync -a -v -P -e 'ssh -F .vagrant_ssh_conf' default:/vagrant/dist ./dist"
echo "###########################################################################"
popd

0 comments on commit 7fef3ab

Please sign in to comment.