Skip to content

Commit

Permalink
Merge pull request #6 from ballerina-platform/package-name-fix
Browse files Browse the repository at this point in the history
Fix Invalid Package Name in Builds
  • Loading branch information
ThisaruGuruge authored Jan 21, 2025
2 parents 9a06297 + 974b6a7 commit 99ec7db
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion ballerina/Ballerina.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name = "hubspot.crm.obj.companies"
version = "1.0.0"
license = ["Apache-2.0"]
authors = ["Ballerina"]
keywords = ["hubspot", "crm", "companies", "automation"]
keywords = ["hubspot", "crm", "companies", "automation"]
repository = "https://github.com/ballerina-platform/module-ballerinax-hubspot.crm.object.companies"

[build-options]
Expand Down
2 changes: 1 addition & 1 deletion ballerina/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ plugins {

description = 'Ballerina HubSpot CRM Companies Connector - Ballerina'

def packageName = "hubspot.crm.object.companies"
def packageName = "hubspot.crm.obj.companies"
def packageOrg = "ballerinax"
def tomlVersion = stripBallerinaExtensionVersion("${project.version}")
def ballerinaTomlFilePlaceHolder = new File("${project.rootDir}/build-config/resources/Ballerina.toml")
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ allprojects {
def moduleVersion = project.version.replace("-SNAPSHOT", "")

task build {
dependsOn(':hubspot.crm.object.companies-ballerina:build')
dependsOn(':hubspot.crm.obj.companies-ballerina:build')
}

release {
Expand Down
4 changes: 2 additions & 2 deletions examples/README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Examples

The `ballerinax/hubspot.crm.object.companies` connector provides practical examples illustrating usage in various scenarios.
The `ballerinax/hubspot.crm.obj.companies` connector provides practical examples illustrating usage in various scenarios.

1. [Manage companies](https://github.com/ballerina-platform/module-ballerinax-hubspot.crm.object.companies/tree/main/examples/Company_create_count_delete) - see how the Hubspot API can be used to Create, count and delete companies in Hubspot.
2. [Merge Companies](https://github.com/ballerina-platform/module-ballerinax-hubspot.crm.object.companies/tree/main/examples/Company_update_merge) - see how the Hubspot API can be used to create, update, and merge companies in HubSpot.

## Prerequisites

1. Generate hubspot credentials to authenticate the connector as described in the [setup guide](https://github.com/ballerina-platform/module-ballerinax-hubspot.crm.object.companies/tree/main/README.md).
1. Generate HubSpot credentials to authenticate the connector as described in the [setup guide](https://github.com/ballerina-platform/module-ballerinax-hubspot.crm.object.companies/tree/main/README.md).

2. For each example, create a `Config.toml` file with the related configuration. Here's an example of how your `Config.toml `file should look:
```toml
Expand Down
4 changes: 2 additions & 2 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ plugins {

rootProject.name = 'module-ballerinax-hubspot.crm.object.companies'

include ':hubspot.crm.object.companies-ballerina'
include ':hubspot.crm.obj.companies-ballerina'

project(':hubspot.crm.object.companies-ballerina').projectDir = file("ballerina")
project(':hubspot.crm.obj.companies-ballerina').projectDir = file("ballerina")

gradleEnterprise {
buildScan {
Expand Down

0 comments on commit 99ec7db

Please sign in to comment.