mirror of
https://github.com/plankanban/planka.git
synced 2026-03-01 11:21:46 +03:00
chore: Auto-update internal version for nightly build, improve version display in UI
This commit is contained in:
@@ -17,6 +17,20 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '22'
|
||||
cache: 'npm'
|
||||
|
||||
- name: Update version with build number
|
||||
run: |
|
||||
npm version "$(node -p "require('./package.json').version")-nightly.$(git rev-list --count HEAD)" --no-git-tag-version
|
||||
npx --yes genversion --source . --template server/version-template.ejs server/version.js
|
||||
npx --yes genversion --source . --template client/version-template.ejs client/src/version.js
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v2
|
||||
|
||||
@@ -40,7 +40,7 @@ const AboutPane = React.memo(() => {
|
||||
<a href="https://github.com/plankanban/planka" target="_blank" rel="noreferrer">
|
||||
<Image centered src={aboutLogo} size="large" />
|
||||
</a>
|
||||
<div className={styles.version}>{version}</div>
|
||||
<div className={styles.version}>Community v{version}</div>
|
||||
<Divider horizontal>
|
||||
<Header as="h4">
|
||||
{t('common.whatsNew', {
|
||||
|
||||
Reference in New Issue
Block a user