Skip to content

Commit bb0b05d

Browse files
author
Christopher - Marcel Böddecker
committed
fix(templates): semantic-release configuration file name
1 parent 1583546 commit bb0b05d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

templates/steps/cd.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ steps:
105105
- bash: mv -f package.json.original package.json
106106
displayName: Bring back original package.json
107107
- bash: |
108-
cat > semantic-release.template.json <<- "EOF"
108+
cat > semantic-release.config.js <<- "EOF"
109109
parserOpts = {
110110
revertPattern: '/^(?:Revert|revert:)\\s\'?([\\s\\S]+?)\'?\\s*This reverts commit (\\w*)\\./'
111111
};
@@ -190,7 +190,7 @@ steps:
190190
}
191191
};
192192
EOF
193-
displayName: Create semantic-release.template.json
193+
displayName: Create semantic-release.config.js
194194
- bash: |
195195
cat > npm-tarball-to-zip.sh <<- "EOF"
196196
tarball=$(npm list --depth 0 | sed "s/@/-/g; s/ .*/.tgz/g; 1q;")
@@ -201,7 +201,7 @@ steps:
201201
EOF
202202
displayName: Create npm-tarball-to-zip.sh
203203
# Using bash to run semantic-release doesn't continue after loading all the plugins.
204-
- powershell: npx semantic-release --extends "./semantic-release.template.json"
204+
- powershell: npx semantic-release --extends "./semantic-release.config.js"
205205
displayName: Run semantic-release
206206
env:
207207
GITHUB_TOKEN: $(GitHub.Token)

0 commit comments

Comments
 (0)