Skip to content
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
57 changes: 0 additions & 57 deletions .github/workflows/production_release.yml

This file was deleted.

21 changes: 12 additions & 9 deletions cumulusci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ minimum_cumulusci_version: '3.74.0'
project:
name: GrantGuides
package:
name: ggw
name: Grant Content Kit
namespace: GCKit
api_version: '55.0'
git:
Expand Down Expand Up @@ -46,13 +46,16 @@ flows:
task: command
options:
command: cci org default --org dev

gk_release_beta:
description: 'Generate Release notes and auto merge main branch.'

release_2gp_beta:
steps:
1:
task: github_release
2:
task: github_release_notes
3:
task: github_automerge_main
options:
package_type: Managed
package_name: $project_config.project__package__name
skip_validation: False
ancestor_id: latest_github_release
version_base: latest_github_release
version_type: major
force_upload: True
create_unlocked_dependency_packages: False
8 changes: 4 additions & 4 deletions force-app/main/default/classes/GGW_ApplicationCtrl.cls
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public with sharing class GGW_ApplicationCtrl {
GGW_Selected_Item__c item = new GGW_Selected_Item__c();
item.Id = itemId;
if(Schema.sObjectType.GGW_Selected_Item__c.isDeletable()){
delete item;
delete as User item;
}
}

Expand Down Expand Up @@ -326,10 +326,10 @@ public with sharing class GGW_ApplicationCtrl {
ContentDocument cd = new ContentDocument();
cd.Id = cdl.ContentDocumentId;
if(Schema.sObjectType.ContentDistribution.isDeletable()){
delete cntdistr;
delete as User cntdistr;
}
if(Schema.sObjectType.ContentDocument.isDeletable()){
delete cd;
delete as User cd;
}
}
private static String getValidLogoURL(GGW_Grant_Application__c grant){
Expand Down Expand Up @@ -432,7 +432,7 @@ public with sharing class GGW_ApplicationCtrl {
}
if(!removeItems.isEmpty()){
if(Schema.sObjectType.GGW_Selected_Item__c.isDeletable()){
delete removeItems;
delete as User removeItems;
}
}
}
Expand Down
Loading