Skip to content

Commit

Permalink
fix: drop version file
Browse files Browse the repository at this point in the history
  • Loading branch information
fuxiaohei committed May 9, 2022
1 parent 6b6f749 commit 01bbbae
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION := $(shell cat ./version)
VERSION := $(shell git describe --abbrev=0)
LDFLAGS=-ldflags "-s -w -X=main.version=$(VERSION)"

.PHONY: build
Expand Down
2 changes: 1 addition & 1 deletion release.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

VERSION=$(cat ./version)
VERSION=$(git describe --abbrev=0)
WORKDIR=$(pwd)

# npx update theme css
Expand Down
1 change: 0 additions & 1 deletion version

This file was deleted.

0 comments on commit 01bbbae

Please sign in to comment.