Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustav-Eikaas committed Nov 5, 2024
1 parent 8388a3d commit f453341
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
1 change: 0 additions & 1 deletion apps/handover/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ const HandoverApp = () => {
const client = useHttpClient('cc-app');
return (
<RootAppWrapper client={client}>
<div>New pipeline woohooo</div>
<WorkspaceWrapper />
</RootAppWrapper>
);
Expand Down
2 changes: 1 addition & 1 deletion github-action/src/releasePr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export async function release(context: ReleaseArgs) {
}

const version = await getVersion(ciUrl, context.token, r.name);
makeManifest('./package.json', version);
makeManifest('./package.json', version, context.sha);
const zipped = zipBundle();
await uploadBundle(ciUrl, context.token, r.name, zipped, version);
console.log("Skipping patchAppConfig");
Expand Down
10 changes: 5 additions & 5 deletions github-action/src/utils/makeManifest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { parsePackageJson } from './parsePackageJson.js';
import fs from 'fs';
import { notice } from '@actions/core';

export function makeManifest(path: string, version: string) {
export function makeManifest(path: string, version: string, sha: string) {
// Create manifest
notice('making manifest');
const { name } = parsePackageJson(path);
Expand All @@ -13,11 +13,11 @@ export function makeManifest(path: string, version: string) {
//required
entryPoint: "app-bundle.js",
//required
version: version
version: version,
githubRepo: "cc-components",
//TODO: add commit sha and github repo
//timestamp: "string",
//commitSha: "string",
//githubRepo: "string",
timestamp: new Date().toISOString(),
commitSha: sha,
};

const data = JSON.stringify(manifest, null, 2);
Expand Down

0 comments on commit f453341

Please sign in to comment.