diff --git a/build/packages/rpm/server/SPECS/pmm-managed.spec b/build/packages/rpm/server/SPECS/pmm-managed.spec index b313be8ba8..0a787275a0 100644 --- a/build/packages/rpm/server/SPECS/pmm-managed.spec +++ b/build/packages/rpm/server/SPECS/pmm-managed.spec @@ -42,6 +42,8 @@ export PMM_RELEASE_BRANCH="" cd src/github.com/percona/pmm/managed make release +cd src/github.com/percona/pmm/ui +make release %install install -d -p %{buildroot}%{_bindir} @@ -54,6 +56,7 @@ install -p -m 0755 bin/pmm-managed-starlark %{buildroot}%{_sbindir}/pmm-managed- cd src/github.com/percona/pmm cp -pa ./api/swagger %{buildroot}%{_datadir}/%{name} +cp -pa ./ui/dist %{_datadir}/pmm-ui %files %license src/%{provider}/LICENSE @@ -65,6 +68,9 @@ cp -pa ./api/swagger %{buildroot}%{_datadir}/%{name} %changelog +* Fri Mar 22 2024 Matej Kubinec - 3.0.0-1 +- PMM-10036 migrate to monorepo + * Thu Jul 28 2022 Alex Tymchuk - 2.30.0-1 - PMM-10036 migrate to monorepo diff --git a/ui/Makefile b/ui/Makefile index e361594a5a..568626ebc1 100644 --- a/ui/Makefile +++ b/ui/Makefile @@ -1,29 +1,24 @@ -.PHONY: dev dev: yarn dev -.PHONY: ci ci: setup lint test build -.PHONY: format format: setup yarn format -.PHONY: lints lint: setup yarn lint -.PHONY: test test: setup yarn test -.PHONY: setup setup: yarn install --frozen-lockfile -.PHONY: build build: setup yarn build -.PHONY: release release: build + +clean: + rm -r dist