Skip to content

Commit ecd8563

Browse files
committed
implement 11.15 Adding versioning
1 parent 74045be commit ecd8563

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

.github/workflows/pipeline.yml

+14-1
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,17 @@ jobs:
2222
- name: Build
2323
run: npm run build
2424
- name: Test
25-
run: npm run test
25+
run: npm run test
26+
tag_release:
27+
if: ${{ github.event_name == 'push' }}
28+
needs: [simple_deployment_pipeline]
29+
runs-on: ubuntu-20.04
30+
steps:
31+
- uses: actions/checkout@v4
32+
with:
33+
fetch-depth: '0'
34+
- name: Bump version and push tag
35+
uses: anothrNick/[email protected]
36+
env:
37+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38+
DEFAULT_BUMP: patch

app.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const app = express()
55
const PORT = process.env.PORT || 5001
66

77
app.get('/version', (req, res) => {
8-
res.send('6')
8+
res.send('7')
99
})
1010

1111
app.get('/health', (req, res) => {

0 commit comments

Comments
 (0)