Skip to content

Footer version numbers #1497

Discussion options

You must be logged in to vote

@markim

I believe this will work.

# Build lemmy-ui
git clone https://github.com/LemmyNetlemmy-ui.git --recursive lemmy-ui
cd lemmy-ui && git checkout 0.19.9

# Set version number
echo "export const VERSION = '$(git describe --tag)';" > "src/shared/version.ts"
echo "export const BUILD_DATE_ISO8601 = '$(date -u +"%Y-%m-%dT%H:%M:%SZ")';" > "src/shared/build-date.ts"

# Build
pnpm i
pnpm build:prod

Replies: 12 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@sheikharbazalam
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jheidecker
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@markim
Comment options

Answer selected by jSML4ThWwBID69YC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
7 participants
Converted from issue

This discussion was converted from issue #1052 on June 22, 2023 23:21.