Skip to content

Commit

Permalink
fix: show version in ui
Browse files Browse the repository at this point in the history
  • Loading branch information
Raymond Ottun committed Sep 30, 2021
1 parent b83f6ba commit ccec31e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ jobs:
git config --global user.email "${{ github.actor }}@gmail.com"
git config --global user.name "${{ github.actor }}"
npm version ${{ steps.tag_version.outputs.new_version }}
cd ui && npm version ${{ steps.tag_version.outputs.new_version }}
git push
- name: Create a GitHub release
Expand Down
3 changes: 2 additions & 1 deletion ui/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import 'antd/dist/antd.css';
import { Space, Row, Col, Typography, Divider } from 'antd';

import './App.css';
import { version } from '../package.json';

import { Layout } from 'antd';
import { ServerProvider } from './components/Provider';
Expand All @@ -25,7 +26,7 @@ const App = () => {
<Row justify="space-between">
<Row align="middle">
<Logo width="30" />
<span style={{ color: 'white', paddingLeft: '10px' }}>Deputy</span>
<span style={{ color: 'white', paddingLeft: '10px' }}>Deputy v{version}</span>
</Row>
<Typography.Link href="https://sayjava.github.io/behave/" target="_blank">
Docs
Expand Down

0 comments on commit ccec31e

Please sign in to comment.