Skip to content

Commit

Permalink
Publish from release branch (segmentio#1973)
Browse files Browse the repository at this point in the history
* minor update to an Action Destination

* updating publish to allow from release branch

* updating

* Publish

 - @segment/action-destinations@3.256.0
  • Loading branch information
joe-ayoub-segment authored Apr 5, 2024
1 parent 6e021c2 commit 79cdd99
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
push:
branches:
- main
- release

jobs:
build-and-publish:
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"npmClientArgs": ["--ignore-engines", "--ignore-optional"]
},
"version": {
"allowBranch": "main"
"allowBranch": ["main", "release"]
}
}
}
2 changes: 1 addition & 1 deletion packages/destination-actions/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@segment/action-destinations",
"description": "Destination Actions engine and definitions.",
"version": "3.255.0",
"version": "3.256.0",
"repository": {
"type": "git",
"url": "https://github.com/segmentio/action-destinations",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const destination: DestinationDefinition<Settings> = {
name: '1plusX',
slug: 'actions-1plusx',
mode: 'cloud',
//No authentication required for 1plusX Data Collection API
// No authentication required for 1plusX Data Collection API
authentication: {
scheme: 'custom',
fields: {
Expand Down
4 changes: 2 additions & 2 deletions scripts/release.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/bash
branch=$(git rev-parse --symbolic-full-name --abbrev-ref HEAD);

if [[ $branch != "main" ]];
if [[ $branch != "main" && $branch != "release" ]];
then
echo "You must be on the main branch to release"
echo "You must be on the main or relesase branch to release"
exit
fi;

Expand Down

0 comments on commit 79cdd99

Please sign in to comment.