Create a bash script `deploy-to-gitlab.sh` for automating database backups and pushing code to GitLab. The script supports semantic versioning (patch, minor, major increments) and reads GitLab credentials from a `git.env` file. It also creates/updates a `version.json` file to track the current version and changelog. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 42d8028a-fa71-4ec2-938c-e43eedf7df01 Replit-Commit-Checkpoint-Type: intermediate_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/6d543d2c-20b9-4ea6-93fe-70fe9b1d9f80/42d8028a-fa71-4ec2-938c-e43eedf7df01/Z1LDqzu
27 lines
259 B
Plaintext
27 lines
259 B
Plaintext
node_modules
|
|
dist
|
|
.DS_Store
|
|
server/public
|
|
vite.config.ts.*
|
|
*.tar.gz
|
|
|
|
# Environment files
|
|
.env
|
|
.env.local
|
|
.env.production
|
|
.env.staging
|
|
git.env
|
|
|
|
# Logs
|
|
logs
|
|
*.log
|
|
npm-debug.log*
|
|
pm2-logs/
|
|
|
|
# Database
|
|
*.db
|
|
*.sqlite
|
|
database-backups/
|
|
|
|
# Deployment
|
|
.deploy-history |