mirror of https://github.com/status-im/migrate.git
fix version string
This commit is contained in:
parent
511f9c1ffe
commit
ec5c0ac3e0
|
@ -6,7 +6,7 @@ go:
|
||||||
- 1.8
|
- 1.8
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- MIGRATE_TEST_CONTAINER_BOOT_DELAY=15
|
- MIGRATE_TEST_CONTAINER_BOOT_DELAY=10
|
||||||
|
|
||||||
# TODO: https://docs.docker.com/engine/installation/linux/ubuntu/
|
# TODO: https://docs.docker.com/engine/installation/linux/ubuntu/
|
||||||
# pre-provision with travis docker setup and pin down docker version in install step
|
# pre-provision with travis docker setup and pin down docker version in install step
|
||||||
|
@ -29,7 +29,7 @@ after_success:
|
||||||
before_deploy:
|
before_deploy:
|
||||||
- make build-cli
|
- make build-cli
|
||||||
- gem install --no-ri --no-rdoc fpm
|
- gem install --no-ri --no-rdoc fpm
|
||||||
- fpm -s dir -t deb -n migrate -v "$(git describe --tags 2>/dev/null)" --license MIT -m matthias.kadenbach@gmail.com --url https://github.com/mattes/migrate --description='Database migrations' -a amd64 -p migrate.$(git describe --tags 2>/dev/null).deb --deb-no-default-config-files -f -C cli/build migrate.linux-amd64=/usr/bin/migrate
|
- fpm -s dir -t deb -n migrate -v "$(git describe --tags 2>/dev/null | cut -c 2-)" --license MIT -m matthias.kadenbach@gmail.com --url https://github.com/mattes/migrate --description='Database migrations' -a amd64 -p migrate.$(git describe --tags 2>/dev/null | cut -c 2-).deb --deb-no-default-config-files -f -C cli/build migrate.linux-amd64=/usr/bin/migrate
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
- provider: releases
|
- provider: releases
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -1,6 +1,6 @@
|
||||||
SOURCE ?= file go-bindata github
|
SOURCE ?= file go-bindata github
|
||||||
DATABASE ?= postgres
|
DATABASE ?= postgres
|
||||||
VERSION ?= $(shell git describe --tags 2>/dev/null)
|
VERSION ?= $(shell git describe --tags 2>/dev/null | cut -c 2-)
|
||||||
TEST_FLAGS ?=
|
TEST_FLAGS ?=
|
||||||
REPO_OWNER ?= $(shell cd .. && basename "$$(pwd)")
|
REPO_OWNER ?= $(shell cd .. && basename "$$(pwd)")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue