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

CI fix: don't delete releases directory #1214

Merged
merged 1 commit into from
Dec 13, 2024
Merged
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
CI fix: don't delete releases directory
Rodrigo Gomez Palacio committed Dec 13, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 0aaa8210f631a176653ca877f14b796dff602cac
1 change: 0 additions & 1 deletion build/scripts/publish.sh
Original file line number Diff line number Diff line change
@@ -15,7 +15,6 @@ set -x

pwd

rm -rf build/releases
mkdir -p build/releases

# Copy files with the prefix

Unchanged files with check annotations Beta

modelName: ModelName,
modelId: string,
key: string,
value: any,

Check warning on line 45 in src/core/caching/ModelCache.ts

GitHub Actions / test

Unexpected any. Specify a different type
): Promise<void> {
if (this._mutexLocked) {
await this._mutexPromise;
static enqueue<Model>(operation: Operation<Model>): void {
logMethodCall('OperationCache.enqueue', { operation });
const fromCache = localStorage.getItem('operationCache');
const operations: { [key: string]: any } = fromCache

Check warning on line 10 in src/core/caching/OperationCache.ts

GitHub Actions / test

Unexpected any. Specify a different type
? JSON.parse(fromCache)
: {};
operations[operation.operationId] = operation;
static delete(id: string): void {
logMethodCall('OperationCache.delete', { id });
const fromCache = localStorage.getItem('operationCache');
const operations: { [key: string]: any } = fromCache

Check warning on line 51 in src/core/caching/OperationCache.ts

GitHub Actions / test

Unexpected any. Specify a different type
? JSON.parse(fromCache)
: {};
delete operations[id];
this._operationQueue = [];
}
protected _getChangeType(oldValue: any, newValue: any): CoreChangeType {

Check warning on line 96 in src/core/executors/ExecutorBase.ts

GitHub Actions / test

Unexpected any. Specify a different type

Check warning on line 96 in src/core/executors/ExecutorBase.ts

GitHub Actions / test

Unexpected any. Specify a different type
logMethodCall('ExecutorBase._getChangeType', { oldValue, newValue });
const wasPropertyAdded = !oldValue && !!newValue;
const wasPropertyRemoved = !!oldValue && !newValue;
*/
public set(
property: StringKeys<Model>,
newValue: any,

Check warning on line 69 in src/core/modelRepo/OSModel.ts

GitHub Actions / test

Unexpected any. Specify a different type
propagate = true,
): void {
logMethodCall('set', { property, newValue });
constructor(
public model: OSModel<Model>,
public property: string,
public oldValue: any,

Check warning on line 7 in src/core/modelRepo/OSModelUpdatedArgs.ts

GitHub Actions / test

Unexpected any. Specify a different type
public newValue: any,

Check warning on line 8 in src/core/modelRepo/OSModelUpdatedArgs.ts

GitHub Actions / test

Unexpected any. Specify a different type
) {}
}
export interface PropertyDelta<Model> extends ModelDelta<Model> {
property: StringKeys<Model>;
oldValue?: any;

Check warning on line 13 in src/core/models/CoreDeltas.ts

GitHub Actions / test

Unexpected any. Specify a different type
newValue: any;

Check warning on line 14 in src/core/models/CoreDeltas.ts

GitHub Actions / test

Unexpected any. Specify a different type
}
export type CoreDelta<Model> = ModelDelta<Model> | PropertyDelta<Model>;