Skip to content

Commit

Permalink
multiline
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-hanheide committed Feb 29, 2024
1 parent cb2ec5f commit eac2393
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish-aptly-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
TIMESTAMP=`date +%Y%m%d%H%M`
REPO_SNAPSHOT="${REPO}_${TIMESTAMP}"
read -r -d '' DATA <<- EOM
read -r -d '' DATA << EOM
{
"Name": "${REPO_SNAPSHOT}",
}
Expand All @@ -53,7 +53,7 @@ jobs:
# create release snapshot merging the last mirror snapshot and the new repo snapshot
RELEASE_SNAPSHOT="${PUBLISH_PREFIX}_${REPO_SNAPSHOT}"
read -r -d '' DATA <<- EOM
read -r -d '' DATA << EOM
{
"Destination": "${RELEASE_SNAPSHOT}",
"Sources": [
Expand All @@ -66,7 +66,7 @@ jobs:
curl -X POST -H 'Content-Type: application/json' --data "${DATA}" -u lcas:${{ secrets.APTLY_TOKEN }} ${APTLY_API}/snapshots/merge
# publish the release snapshot
read -r -d '' DATA <<- EOM
read -r -d '' DATA << EOM
{
"Snapshots": [
"${RELEASE_SNAPSHOT}"
Expand Down

0 comments on commit eac2393

Please sign in to comment.