Back to skills
SKILL.md
2313 Deployment Tracking 59e0e4df
ASecurityVERSION=$(git rev-parse --short HEAD) ENVIRONMENT=${1:-production}
- 9 stars
- 0 votes
- 0 copies
- 0 views
- Added October 11, 2026
Works with
Security analysis
100/100npx -y skills add tools-only/X-Skills --skill 2313-deployment-tracking_59e0e4df --agent claude-codeAre you the author of 2313 Deployment Tracking 59e0e4df?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/tools-only-2313-deployment-tracking-59e0e4df)# Deployment Tracking
## Deployment Tracking
### Create Release and Deploy
```bash
#!/bin/bash
# deploy.sh
VERSION=$(git rev-parse --short HEAD)
ENVIRONMENT=${1:-production}
# Create release
sentry-cli releases new $VERSION
# Upload source maps
sentry-cli releases files $VERSION upload-sourcemaps ./dist
# Associate commits
sentry-cli releases set-commits $VERSION --auto
# Finalize release
sentry-cli releases finalize $VERSION
# Deploy application
npm run deploy:$ENVIRONMENT
# Notify Sentry of deployment
sentry-cli releases deploys $VERSION new \
--env $ENVIRONMENT \
--started $(date +%s) \
--finished $(date +%s)
echo "Deployed $VERSION to $ENVIRONMENT"
```
### Application Configuration
```typescript
import * as Sentry from '@sentry/node';
Sentry.init({
dsn: process.env.SENTRY_DSN,
environment: process.env.NODE_ENV,
release: process.env.SENTRY_RELEASE || process.env.GIT_SHA,
});
```Attribution
Comments
Loading comments…