Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ jobs:
with:
node-version: '24'
- uses: actions/checkout@v6
with:
fetch-depth: 0
- run: (cd ui && yarn)
- run: make build-js
- uses: golangci/golangci-lint-action@v9
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,13 @@ build-docker-multiarch-master:
docker buildx build --sbom=true --provenance=true \
$(if $(DOCKER_BUILD_PUSH),--push) \
--label org.opencontainers.image.revision=$(shell git rev-parse HEAD) \
--label org.opencontainers.image.version=$(shell git describe --tags) \
--label org.opencontainers.image.version=master-$(shell git rev-parse --short HEAD) \
--label org.opencontainers.image.created=$(shell date -u +%Y-%m-%dT%H:%M:%SZ) \
-t gotify/server:master \
-t ghcr.io/gotify/server:master \
--build-arg RUN_TESTS=$(DOCKER_TEST_LEVEL) \
--build-arg GO_VERSION=$(GO_VERSION) \
--build-arg LD_FLAGS="-w -s -X main.Version=$(shell git describe --tags) -X main.BuildDate=$(shell date "+%F-%T") -X main.Commit=$(shell git rev-parse --verify HEAD) -X main.Mode=prod" \
--build-arg LD_FLAGS="-w -s -X main.Version=master-$(shell git rev-parse --short HEAD) -X main.BuildDate=$(shell date "+%F-%T") -X main.Commit=$(shell git rev-parse --verify HEAD) -X main.Mode=prod" \
--platform linux/amd64,linux/arm64,linux/386,linux/arm/v7,linux/riscv64 \
-f docker/Dockerfile .

Expand Down
6 changes: 5 additions & 1 deletion ui/src/layout/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,11 @@ const Header = ({
</Typography>
</Link>
<a
href={'https://github.com/gotify/server/releases/tag/v' + version}
href={
version.startsWith('master-')
? `https://github.com/gotify/server/commit/${version.replace('master-', '')}`
: `https://github.com/gotify/server/releases/tag/v${version}`
}
className={classes.link}>
<Typography variant="button" color="inherit">
@{version}
Expand Down
Loading