chore: fixed build
This commit is contained in:
parent
819f53f988
commit
690b6ca973
4
Makefile
4
Makefile
|
@ -2,7 +2,7 @@ SHELL := /usr/bin/env bash
|
||||||
VERSION := $(shell cat pubspec.yaml | grep "^version: " | cut -c 10- | sed 's/+/\-/')
|
VERSION := $(shell cat pubspec.yaml | grep "^version: " | cut -c 10- | sed 's/+/\-/')
|
||||||
SHORT_VERSION := $(shell xx="$(VERSION)"; arrVersion=($${xx//-/ }); echo $${arrVersion[0]};)
|
SHORT_VERSION := $(shell xx="$(VERSION)"; arrVersion=($${xx//-/ }); echo $${arrVersion[0]};)
|
||||||
BUILD_ROOT := ../build-package
|
BUILD_ROOT := ../build-package
|
||||||
BASE_NAME := quickgui-$(SHORT_VERSION)
|
BASE_NAME := quickgui_$(SHORT_VERSION)
|
||||||
BUILD_DIR := $(BUILD_ROOT)/$(BASE_NAME)
|
BUILD_DIR := $(BUILD_ROOT)/$(BASE_NAME)
|
||||||
BIN_TAR := $(BUILD_ROOT)/$(BASE_NAME).tar
|
BIN_TAR := $(BUILD_ROOT)/$(BASE_NAME).tar
|
||||||
SRC_TAR := $(BUILD_ROOT)/$(BASE_NAME)-src.tar
|
SRC_TAR := $(BUILD_ROOT)/$(BASE_NAME)-src.tar
|
||||||
|
@ -42,7 +42,7 @@ ppa: version
|
||||||
cd /mnt/data/dev/debianpackages/quickgui.deb/quickgui ; \
|
cd /mnt/data/dev/debianpackages/quickgui.deb/quickgui ; \
|
||||||
dch -v $(VERSION) "New changelog message" ; \
|
dch -v $(VERSION) "New changelog message" ; \
|
||||||
vi debian/changelog ; \
|
vi debian/changelog ; \
|
||||||
for dist in focal jammy kinetic; do \
|
for dist in focal jammy kinetic lunar; do \
|
||||||
sed -i "1 s/^\(.*\)) UNRELEASED;\(.*\)\$$/\1~xxx1.0) xxx;\2/g" debian/changelog ; \
|
sed -i "1 s/^\(.*\)) UNRELEASED;\(.*\)\$$/\1~xxx1.0) xxx;\2/g" debian/changelog ; \
|
||||||
sed -i "1 s/~.*1\.0) .*;\(.*\)\$$/~$${dist}1.0) $$dist;\1/g" debian/changelog ; \
|
sed -i "1 s/~.*1\.0) .*;\(.*\)\$$/~$${dist}1.0) $$dist;\1/g" debian/changelog ; \
|
||||||
dpkg-buildpackage -d -S -sa ; \
|
dpkg-buildpackage -d -S -sa ; \
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
name: quickgui
|
name: quickgui
|
||||||
description: A new Flutter project.
|
description: A new Flutter project.
|
||||||
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
|
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
|
||||||
version: 1.2.5
|
version: 1.2.6
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ">=2.14.4 <3.0.0"
|
sdk: ">=2.14.4 <3.0.0"
|
||||||
|
|
Loading…
Reference in New Issue