Skip to content

Commit

Permalink
fix :prerelease
Browse files Browse the repository at this point in the history
  • Loading branch information
foxundermoon committed Jan 28, 2020
1 parent d4af978 commit 27a6d49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/auto_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
chunk=$(grep -R '${{ env.IPNS }}' ./out |awk -F ':' '{print $1}')
echo "will edit $chunk"
hackCode='/(\/ipfs\/[^\/]+)/.exec(window.location.pathname)[1]'
sed -i -e "s|\"${{ env.IPNS }}\"|$hackCode|g"
sed -i -e "s|\"${{ env.IPNS }}\"|$hackCode|g" $chunk
./go-ipfs/ipfs --api=/dns4/ncov.fox.mn/tcp/5001 add -r ./out/ --hidden |tee -a assets_rst.log
ASSETS_IPFS_CID=$(cat ./assets_rst.log | tail -n 1 | awk '{print $2}')
Expand Down

0 comments on commit 27a6d49

Please sign in to comment.