File tree Expand file tree Collapse file tree 3 files changed +31
-0
lines changed Expand file tree Collapse file tree 3 files changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ build /
Original file line number Diff line number Diff line change 1+ Package: liquibase
2+ Version: 3.5.5
3+ Architecture: all
4+ Essential: no
5+ Priority: optional
6+ Depends: default-jre
7+ Section: database
8+ Maintainer: Andrew Rademacher <
[email protected] >
9+ Homepage: http://www.liquibase.org/
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ LIQUIBASE_VERSION=3.5.5
4+ PG_JDBC_VERSION=42.2.4
5+
6+ mkdir -p build/download
7+ (cd ./build/download && wget https://github.com/liquibase/liquibase/releases/download/liquibase-parent-${LIQUIBASE_VERSION} /liquibase-${LIQUIBASE_VERSION} -bin.tar.gz)
8+
9+ mkdir -p build/pkg/usr/lib/liquibase
10+ tar xvf ./build/download/liquibase-${LIQUIBASE_VERSION} -bin.tar.gz -C ./build/pkg/usr/lib/liquibase
11+
12+ # Additional Drivers
13+ (cd ./build/pkg/usr/lib/liquibase/lib && wget https://jdbc.postgresql.org/download/postgresql-${PG_JDBC_VERSION} .jar)
14+
15+ # Symlinking
16+ mkdir -p build/pkg/usr/bin
17+ (cd ./build/pkg/usr/bin && ln -s /usr/lib/liquibase/liquibase liquibase)
18+
19+ # Packaging
20+ cp -R DEBIAN build/pkg
21+ dpkg -b build/pkg/ build/liquibase_3.5.5.deb
You can’t perform that action at this time.
0 commit comments