Skip to content

Commit 8aad64a

Browse files
authored
Fix collector contrib PR (#408)
1 parent 4ff617e commit 8aad64a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ jobs:
182182
opentelemetry-jmx-metrics.jar
183183
184184
echo "::set-output name=jmx-metrics-version::$jmx_metrics_version"
185-
echo "::set-output name=jmx-metrics-sha256::$(sha256sum opentelemetry-jmx-metrics.jar)"
185+
echo "::set-output name=jmx-metrics-sha256::$(sha256sum opentelemetry-jmx-metrics.jar | cut -d ' ' -f 1)"
186186
187187
- uses: actions/checkout@v3
188188
with:

.github/workflows/reusable-create-collector-contrib-pull-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
HASH: ${{ inputs.jmx-metrics-sha256 }}
4747
run: |
4848
# NOTE there are intentional tab characters in the line below
49-
sed "/^var jmxMetricsGathererVersions/a \ \"$HASH\": {\n version: \"$VERSION\",\n jar: \"JMX metrics gatherer\",\n }," receiver/jmxreceiver/supported_jars.go
49+
sed -i "/^var jmxMetricsGathererVersions/a \ \"$HASH\": {\n version: \"$VERSION\",\n jar: \"JMX metrics gatherer\",\n }," receiver/jmxreceiver/supported_jars.go
5050
git diff
5151
5252
- name: Use CLA approved github bot

0 commit comments

Comments
 (0)