Skip to content

Commit

Permalink
wip: testing
Browse files Browse the repository at this point in the history
  • Loading branch information
jmgilman committed Sep 4, 2024
1 parent 8c64756 commit 86862fe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions forge/actions/publish/dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion forge/actions/publish/dist/index.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions forge/actions/publish/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ async function run() {
core.info(`Detected Git tag: ${gitTag}`);

const parts = gitTag.split("/");
core.info(`Detected Git tag parts: ${parts} Length: ${parts.length}`);
if (parts.length > 1) {
const path = parts.slice(0, -1).join("/");
const tag = parts[parts.length - 1];
const projectCleaned = project.trimStart(".").trimEnd("/");

core.info(`Detected mono-repo tag path=${path} tag=${tag}`);
if (
Object.keys(blueprint?.global?.ci?.tagging?.aliases) !== undefined
blueprint?.global?.ci?.tagging?.aliases &&
Object.keys(blueprint.global.ci.tagging.aliases).length > 0
) {
if (blueprint.global.ci.tagging.aliases[path] === projectCleaned) {
tags.push(tag);
Expand Down

0 comments on commit 86862fe

Please sign in to comment.