Skip to content

Commit

Permalink
Merge pull request #282 from DUNE-DAQ/amogan/export_release_source_in…
Browse files Browse the repository at this point in the history
…_dbt_setup_release

Export DUNE_DAQ_RELEASE_SOURCE when running dbt-setup-release
  • Loading branch information
andrewmogan authored Jun 26, 2024
2 parents 1e51f0e + a70d7d6 commit eee8ea1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/dbt-setup-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ fi

RELEASE_TAG=${ARGS[0]}
RELEASE_PATH=$(realpath -m "${SPACK_RELEASES_DIR}/${RELEASE_TAG}")
export DUNE_DAQ_RELEASE_SOURCE=${RELEASE_PATH}/sourcecode
export SPACK_RELEASE=$( echo $RELEASE_PATH | sed -r 's!.*/([^/]+)/?$!\1!' )

test ! "$SPACK_RELEASE" == "$RELEASE_TAG" && echo "Release \"$RELEASE_TAG\" requested; interpreting this as release \"$SPACK_RELEASE\""
Expand Down

0 comments on commit eee8ea1

Please sign in to comment.