Skip to content

Commit

Permalink
feat: show versions in UI
Browse files Browse the repository at this point in the history
  • Loading branch information
divyam234 committed Jul 20, 2024
1 parent a28d203 commit 852c45d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
16 changes: 15 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0


- name: Set up Go
uses: actions/setup-go@v5
Expand All @@ -29,6 +28,21 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- uses: pnpm/action-setup@v4
with:
version: 8

- name: Build UI
run: |
git clone https://github.com/divyam234/teldrive-ui
cd teldrive-ui
pnpm install
export VITE_SERVER_VERSION=$GITHUB_REF_NAME
pnpm run build
cd ..
mv teldrive-ui/dist ui/dist
rm -rf teldrive-ui
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
Expand Down
6 changes: 1 addition & 5 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@ version: 2
project_name: teldrive
env:
- GO111MODULE=on

before:
hooks:
- make frontend


builds:
- env:
- CGO_ENABLED=0
Expand Down

0 comments on commit 852c45d

Please sign in to comment.