mirror of
https://github.com/remnawave/subscription-page.git
synced 2026-05-13 12:06:39 +00:00
chore: update package version to 6.0.2 in backend and frontend, add tag-release target to Makefile
This commit is contained in:
parent
95ee7645b4
commit
d9a1cb426e
5 changed files with 17 additions and 8 deletions
13
Makefile
13
Makefile
|
|
@ -1,6 +1,6 @@
|
|||
# Makefile for version bumping and dependency installation
|
||||
|
||||
.PHONY: bump-patch bump-minor bump-major install help
|
||||
.PHONY: bump-patch bump-minor bump-major install help tag-release
|
||||
|
||||
# Default target
|
||||
help:
|
||||
|
|
@ -12,6 +12,7 @@ help:
|
|||
@echo " bump-and-install-patch - Bump patch version and install dependencies"
|
||||
@echo " bump-and-install-minor - Bump minor version and install dependencies"
|
||||
@echo " bump-and-install-major - Bump major version and install dependencies"
|
||||
@echo " tag-release - Create and push git tag for current version"
|
||||
|
||||
# Bump patch version (x.x.X)
|
||||
bump-patch:
|
||||
|
|
@ -57,4 +58,12 @@ bump-and-install-major: bump-major install
|
|||
show-versions:
|
||||
@echo "Current versions:"
|
||||
@echo "Backend: $(shell cd backend && node -p "require('./package.json').version")"
|
||||
@echo "Frontend: $(shell cd frontend && node -p "require('./package.json').version")"
|
||||
@echo "Frontend: $(shell cd frontend && node -p "require('./package.json').version")"
|
||||
|
||||
|
||||
tag-release:
|
||||
@VERSION=$$(cd backend && node -p "require('./package.json').version") && \
|
||||
echo "Creating signed tag for version $$VERSION..." && \
|
||||
git tag -s "$$VERSION" -m "Release $$VERSION" && \
|
||||
git push origin --follow-tags && \
|
||||
echo "Signed tag $$VERSION created and pushed"
|
||||
4
backend/package-lock.json
generated
4
backend/package-lock.json
generated
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "@remnawave/subscription-page",
|
||||
"version": "6.0.1",
|
||||
"version": "6.0.2",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@remnawave/subscription-page",
|
||||
"version": "6.0.1",
|
||||
"version": "6.0.2",
|
||||
"license": "AGPL-3.0-only",
|
||||
"dependencies": {
|
||||
"@ladjs/consolidate": "^1.0.4",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@remnawave/subscription-page",
|
||||
"version": "6.0.1",
|
||||
"version": "6.0.2",
|
||||
"description": "Remnawave Subscription Page",
|
||||
"private": false,
|
||||
"type": "commonjs",
|
||||
|
|
|
|||
4
frontend/package-lock.json
generated
4
frontend/package-lock.json
generated
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "@remnawave/subscription-page",
|
||||
"version": "6.0.1",
|
||||
"version": "6.0.2",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@remnawave/subscription-page",
|
||||
"version": "6.0.1",
|
||||
"version": "6.0.2",
|
||||
"license": "AGPL-3.0-only",
|
||||
"dependencies": {
|
||||
"@mantine/core": "8.2.2",
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
"name": "@remnawave/subscription-page",
|
||||
"private": false,
|
||||
"type": "module",
|
||||
"version": "6.0.1",
|
||||
"version": "6.0.2",
|
||||
"license": "AGPL-3.0-only",
|
||||
"author": "REMNAWAVE <github.com/remnawave>",
|
||||
"homepage": "https://github.com/remnawave",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue