Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/0.40.1 (develop) #925

Merged
merged 2 commits into from
Aug 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,14 @@ All notable changes to this project will be documented in this file. Dates are d

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### [v0.40.1](https://github.com/isomerpages/isomercms-backend/compare/v0.40.0...v0.40.1)

- fix: use sha instead of ref [`1c65cf6`](https://github.com/isomerpages/isomercms-backend/commit/1c65cf64d35411c76114bf8cf5500104d7f4b136)

#### [v0.40.0](https://github.com/isomerpages/isomercms-backend/compare/v0.39.1...v0.40.0)

> 23 August 2023

- fix: upgrade @opengovsg/formsg-sdk from 0.9.0 to 0.10.0 [`#882`](https://github.com/isomerpages/isomercms-backend/pull/882)
- fix: upgrade axios-cache-interceptor from 0.9.3 to 0.10.7 [`#849`](https://github.com/isomerpages/isomercms-backend/pull/849)
- chore: remove test for concurrent viewed call [`#916`](https://github.com/isomerpages/isomercms-backend/pull/916)
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "isomercms",
"version": "0.40.0",
"version": "0.40.1",
"private": true,
"scripts": {
"build": "tsc -p tsconfig.build.json",
Expand Down
2 changes: 1 addition & 1 deletion src/services/db/GitHubService.js
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ class GitHubService {
Authorization: `token ${accessToken}`,
}
const params = {
ref: BRANCH_REF,
sha: BRANCH_REF,
}
// Get the commits of the repo
const { data: commits } = await this.axiosInstance.get(endpoint, {
Expand Down
2 changes: 1 addition & 1 deletion src/services/db/__tests__/GitHubService.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ describe("Github Service", () => {
Authorization: `token ${accessToken}`,
}
const params = {
ref: BRANCH_REF,
sha: BRANCH_REF,
}

it("should get a repo state works correctly", async () => {
Expand Down
2 changes: 1 addition & 1 deletion src/utils/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ async function getCommitAndTreeSha(repo, accessToken, branchRef = "staging") {
`https://api.github.com/repos/${GITHUB_ORG_NAME}/${repo}/commits`,
{
params: {
ref: branchRef,
sha: branchRef,
},
headers,
}
Expand Down