Skip to content
Snippets Groups Projects
Commit b90c1357 authored by Gin's avatar Gin
Browse files

update repo

parent d3718b96
No related branches found
No related tags found
No related merge requests found
stages:
- build
variables:
VERSION: "1.0.0"
build_job:
stage: build
script:
- echo "Building version $VERSION"
- make build
only:
- main # Run the job only for the master branch (customize as needed)
Makefile 0 → 100644
# Define the version number
VERSION := 1.0.0
# Default target
all: build
# Build target
build:
@echo "Building version $(VERSION)"
# Add your build commands here
# Target to update the version
set-version:
@read -p "Enter new version number: " new_version; \
sed -i 's/VERSION := $(VERSION)/VERSION := $$new_version/' Makefile; \
echo "Version updated to $$new_version"
.PHONY: all build set-version
yarn.lock 0 → 100644
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment