From 03cc889cd054fe0794107be8d5c03ca0157b1053 Mon Sep 17 00:00:00 2001 From: Slawomir Koszewski Date: Fri, 23 Jan 2026 14:46:19 +0100 Subject: [PATCH] Update copilot instructions with version release procedures --- .github/copilot-instructions.md | 14 ++++++++++++++ package.json | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index cbdcadb..86d4881 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -93,3 +93,17 @@ The application exposes a REST API for remotly uploading sample data. The API en ## Containerization The application should be prepared for deployment using containerization. It should extend minimal Node 24 LTS container image. + +## Updates + +Always use `scripts/new-version.js` script to make a new release. + +Correct procedure to make a new release: + +- Review the code changes and ensure everything is working. +- Run `npm run build` to build the React application. +- Run `npm test` to execute the test suite and ensure all tests pass. +- Prepare a commit message describing the changes made. +- Use `scripts/new-version.js` to create a new version and commit the changes. Use `--force` option if repository is not clean. +- Don't push the changes without approval. +- Don't build docker image without approval. diff --git a/package.json b/package.json index 8df1695..06a55be 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jmespath-playground", - "version": "1.2.3", + "version": "1.2.4", "description": "A React-based web application for testing JMESPath expressions against JSON data", "main": "index.js", "scripts": {