Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Fix publish with non set upm package directory #59

Merged
merged 1 commit into from
Oct 10, 2022

Conversation

Larusso
Copy link
Member

@Larusso Larusso commented Oct 4, 2022

Description

The last release added a small issue with the way the publish setup. The configuration for the upmPack and creation depends on the packageDir being set. The problem is that a publications should not be conditional. Either they work or not. In our case here the publish needs to be conditional. So I made the decision to only add the dependency to the main publish task if all the configuration settings are available. The general artifactoryPublish would still fail.

Changes

  • FIX publish with non set upm package directory

Description
===========

The last release added a small issue with the way the publish setup.
The configuration for the upmPack and creation depends on the
`packageDir` being set. The problem is that a publications should
not be conditional. Either they work or not. In our case here the
publish needs to be conditional. So I made the decision to
only add the dependency to the main `publish` task if all the configuration
settings are available. The general `artifactoryPublish` would still fail.

Changes
=======

* ![FIX] publish with non set upm package directory
@Larusso Larusso requested a review from Azurelol October 4, 2022 14:16
Copy link
Contributor

@Azurelol Azurelol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great!

@Larusso Larusso merged commit b02d415 into master Oct 10, 2022
@Larusso Larusso deleted the fix/publish_with_no_upm_dir_setup branch October 10, 2022 06:42
Azurelol added a commit that referenced this pull request Dec 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants