mirror of
https://github.com/mattermost/focalboard.git
synced 2024-12-24 13:43:12 +02:00
Linux: Product name
This commit is contained in:
parent
30db53c66b
commit
8b6ba69e7d
8
.github/workflows/build-ubuntu.yml
vendored
8
.github/workflows/build-ubuntu.yml
vendored
@ -42,11 +42,11 @@ jobs:
|
||||
- name: Upload server package
|
||||
uses: actions/upload-artifact@v1
|
||||
with:
|
||||
name: octo-linux-amd64.tar.gz
|
||||
path: ${{ github.workspace }}/dist/octo-linux-amd64.tar.gz
|
||||
name: focalboard-server-linux-amd64.tar.gz
|
||||
path: ${{ github.workspace }}/dist/focalboard-server-linux-amd64.tar.gz
|
||||
|
||||
- name: Upload app package
|
||||
uses: actions/upload-artifact@v1
|
||||
with:
|
||||
name: tasks-linux.tar.gz
|
||||
path: ${{ github.workspace }}/linux/dist/tasks-linux.tar.gz
|
||||
name: focalboard-linux.tar.gz
|
||||
path: ${{ github.workspace }}/linux/dist/focalboard-linux.tar.gz
|
||||
|
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -35,8 +35,8 @@ jobs:
|
||||
- name: Upload server package
|
||||
uses: actions/upload-artifact@v1
|
||||
with:
|
||||
name: octo-linux-amd64.tar.gz
|
||||
path: ${{ github.workspace }}/dist/octo-linux-amd64.tar.gz
|
||||
name: focalboard-server-linux-amd64.tar.gz
|
||||
path: ${{ github.workspace }}/dist/focalboard-server-linux-amd64.tar.gz
|
||||
|
||||
- name: Test server
|
||||
run: make server-test
|
||||
|
18
Makefile
18
Makefile
@ -1,6 +1,6 @@
|
||||
.PHONY: prebuild clean cleanall ci server server-mac server-linux server-win server-linux-package generate watch-server webapp mac-app win-app linux-app
|
||||
|
||||
PACKAGE_FOLDER = octo
|
||||
PACKAGE_FOLDER = focalboard
|
||||
|
||||
# Build Flags
|
||||
BUILD_NUMBER ?= $(BUILD_NUMBER:)
|
||||
@ -56,7 +56,7 @@ server-linux-package: server-linux webapp
|
||||
cp config.json package/${PACKAGE_FOLDER}
|
||||
cp build/MIT-COMPILED-LICENSE.md package/${PACKAGE_FOLDER}
|
||||
mkdir -p dist
|
||||
cd package && tar -czvf ../dist/octo-linux-amd64.tar.gz ${PACKAGE_FOLDER}
|
||||
cd package && tar -czvf ../dist/focalboard-server-linux-amd64.tar.gz ${PACKAGE_FOLDER}
|
||||
rm -rf package
|
||||
|
||||
server-single-user:
|
||||
@ -138,14 +138,14 @@ linux-app: server-linux webapp
|
||||
rm -rf linux/temp
|
||||
rm -rf linux/dist
|
||||
mkdir -p linux/dist
|
||||
mkdir -p linux/temp/tasks-app
|
||||
cp bin/linux/octoserver linux/temp/tasks-app/
|
||||
cp app-config.json linux/temp/tasks-app/config.json
|
||||
cp build/MIT-COMPILED-LICENSE.md linux/temp/tasks-app/
|
||||
cp -R webapp/pack linux/temp/tasks-app/pack
|
||||
mkdir -p linux/temp/focalboard-app
|
||||
cp bin/linux/octoserver linux/temp/focalboard-app/
|
||||
cp app-config.json linux/temp/focalboard-app/config.json
|
||||
cp build/MIT-COMPILED-LICENSE.md linux/temp/focalboard-app/
|
||||
cp -R webapp/pack linux/temp/focalboard-app/pack
|
||||
cd linux; make build
|
||||
cp -R linux/bin/tasks-app linux/temp/tasks-app/
|
||||
cd linux/temp; tar -zcf ../dist/tasks-linux.tar.gz tasks-app
|
||||
cp -R linux/bin/focalboard-app linux/temp/focalboard-app/
|
||||
cd linux/temp; tar -zcf ../dist/focalboard-linux.tar.gz focalboard-app
|
||||
rm -rf linux/temp
|
||||
|
||||
clean:
|
||||
|
@ -5,4 +5,4 @@ run:
|
||||
|
||||
build:
|
||||
mkdir -p bin
|
||||
go build -o bin/tasks-app
|
||||
go build -o bin/focalboard-app
|
||||
|
Loading…
Reference in New Issue
Block a user