File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 2020 echo "BASEIMAGE=${{ env.BASEIMAGE }}" >> $GITHUB_OUTPUT
2121 echo "MODNAME=${{ env.MODNAME }}" >> $GITHUB_OUTPUT
2222 # **** If the mod needs to be versioned, set the versioning logic below. Otherwise leave as is. ****
23- MOD_VERSION=$(curl -s https://api.github.com/repos/ronggang /transmission-web-control/releases/latest | jq -rc ".tag_name")
23+ MOD_VERSION=$(curl -s https://api.github.com/repos/transmission-web-control /transmission-web-control/releases/latest | jq -rc ".tag_name")
2424 echo "MOD_VERSION=${MOD_VERSION}" >> $GITHUB_OUTPUT
2525 outputs :
2626 GITHUB_REPO : ${{ steps.outputs.outputs.GITHUB_REPO }}
Original file line number Diff line number Diff line change 88 echo "**** grab transmission-web-control ****" && \
99 mkdir -p /root-layer/themes && \
1010 if [ -z ${MOD_VERSION} ]; then \
11- MOD_VERSION=$(curl -s "https://api.github.com/repos/ronggang /transmission-web-control/releases/latest" \
11+ MOD_VERSION=$(curl -s "https://api.github.com/repos/transmission-web-control /transmission-web-control/releases/latest" \
1212 | jq -rc ".tag_name" ); \
1313 fi && \
1414 curl -o \
1515 /tmp/transmission-web-control.tar.gz -L \
16- "https://github.com/ronggang /transmission-web-control/archive/refs/tags/ ${MOD_VERSION}.tar.gz" && \
16+ "https://github.com/transmission-web-control /transmission-web-control/releases/download/ ${MOD_VERSION}/dist .tar.gz" && \
1717 mkdir -p /root-layer/themes/transmission-web-control && \
1818 tar xzf \
1919 /tmp/transmission-web-control.tar.gz -C \
20- /root-layer/themes/transmission-web-control \
21- $(tar tf /tmp/transmission-web-control.tar.gz | grep -E "^[^/]+/src" ) --strip-components=2
20+ /root-layer/themes/transmission-web-control --strip-components=2
2221
2322# copy local files
2423COPY root/ /root-layer/
You can’t perform that action at this time.
0 commit comments