-
-
Notifications
You must be signed in to change notification settings - Fork 15
/
.craft.yml
45 lines (45 loc) · 1.34 KB
/
.craft.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
minVersion: '0.30.0'
changelogPolicy: auto
preReleaseCommand: >-
node -p "
const {execSync} = require('child_process');
execSync('npm --no-git-tag-version version ' + process.env.CRAFT_NEW_VERSION).toString();
"
postReleaseCommand: >-
node -p "
const {execSync} = require('child_process');
execSync('npm --no-git-tag-version version preminor --preid=dev');
execSync('git diff --quiet || git commit -anm \'meta: Bump new development version\\n\\n#skip-changelog\' && git pull --rebase && git push').toString();"
requireNames:
- /^sentry-craft.*\.tgz$/
- /^craft$/
targets:
- name: npm
- name: gcs
includeNames: /^.*craft.*$/
bucket: sentry-sdk-assets
paths:
- path: /craft/{{version}}/
metadata:
cacheControl: 'public, max-age=2592000'
- path: /craft/latest/
metadata:
cacheControl: 'public, max-age=300'
- name: registry
apps:
'app:craft':
urlTemplate: 'https://downloads.sentry-cdn.com/craft/{{version}}/{{file}}'
checksums:
- algorithm: sha256
format: hex
- id: release
name: docker
source: ghcr.io/getsentry/craft
target: getsentry/craft
- id: latest
name: docker
source: ghcr.io/getsentry/craft
target: getsentry/craft
targetFormat: '{{{target}}}:latest'
- name: github
- name: gh-pages