Skip to content

Commit 861be7e

Browse files
Merge pull request #171 from contentstack/fix/dx-1042-remove-secrets-gocd-pipeline
dx | 1042 remove secrets
2 parents 6a375cf + f440eb2 commit 861be7e

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## [v1.17.1](https://github.com/contentstack/contentstack-management-javascript/tree/v1.17.1) (2024-08-14)
4+
- Fix
5+
- Fix file upload function in sanity report file
6+
37
## [v1.17.0](https://github.com/contentstack/contentstack-management-javascript/tree/v1.17.0) (2024-07-02)
48
- Enhancement
59
- Fixed package publish issue in github workflow

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@contentstack/management",
3-
"version": "1.17.0",
3+
"version": "1.17.1",
44
"description": "The Content Management API is used to manage the content of your Contentstack account",
55
"main": "./dist/node/contentstack-management.js",
66
"browser": "./dist/web/contentstack-management.js",

sanity-report.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ async function publishMessage (text, report) {
4545
channel: process.env.SLACK_CHANNEL,
4646
text: text
4747
})
48-
await app.client.files.upload({
48+
await app.client.files.uploadV2({
4949
token: process.env.SLACK_BOT_TOKEN,
50-
channels: process.env.SLACK_CHANNEL,
50+
channel_id: process.env.SLACK_CHANNEL_ID,
5151
initial_comment: '*Here is the report generated*',
5252
filetype: 'html',
5353
filename: 'sanity-report.html',

0 commit comments

Comments
 (0)