mirror of https://github.com/stashapp/stash.git
Fix UI not showing version (#631)
This commit is contained in:
parent
455e16ece9
commit
883a0e785a
|
@ -14,9 +14,9 @@ env:
|
|||
before_install:
|
||||
- echo -e "machine github.com\n login $CI_USER_TOKEN" > ~/.netrc
|
||||
- nvm install 12
|
||||
- travis_retry yarn --cwd ui/v2.5 install --frozen-lockfile
|
||||
- travis_retry make pre-ui
|
||||
- make generate
|
||||
- CI=false yarn --cwd ui/v2.5 build-ci
|
||||
- CI=false make ui-only
|
||||
#- go get -v github.com/mgechev/revive
|
||||
script:
|
||||
# left lint off to avoid getting extra dependency
|
||||
|
|
9
Makefile
9
Makefile
|
@ -71,20 +71,25 @@ it:
|
|||
pre-ui:
|
||||
cd ui/v2.5 && yarn install --frozen-lockfile
|
||||
|
||||
.PHONY: ui
|
||||
ui: pre-build
|
||||
.PHONY: ui-only
|
||||
ui-only: pre-build
|
||||
$(SET) REACT_APP_DATE="$(DATE)" $(SEPARATOR) \
|
||||
$(SET) REACT_APP_GITHASH=$(GITHASH) $(SEPARATOR) \
|
||||
$(SET) REACT_APP_STASH_VERSION=$(STASH_VERSION) $(SEPARATOR) \
|
||||
cd ui/v2.5 && yarn build
|
||||
|
||||
.PHONY: ui
|
||||
ui: ui-only
|
||||
packr2
|
||||
|
||||
.PHONY: ui-start
|
||||
ui-start: pre-build
|
||||
$(SET) REACT_APP_DATE="$(DATE)" $(SEPARATOR) \
|
||||
$(SET) REACT_APP_GITHASH=$(GITHASH) $(SEPARATOR) \
|
||||
$(SET) REACT_APP_STASH_VERSION=$(STASH_VERSION) $(SEPARATOR) \
|
||||
cd ui/v2.5 && yarn start
|
||||
|
||||
.PHONY: fmt-ui
|
||||
fmt-ui:
|
||||
cd ui/v2.5 && yarn format
|
||||
|
||||
|
|
Loading…
Reference in New Issue