File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 50
50
echo "projectsuffix=build.${{ github.run_number }}" >> $GITHUB_OUTPUT
51
51
fi
52
52
53
+ - name : Diff
54
+ run : |
55
+ latest_tag=$(git describe --tags --abbrev=0)
56
+ latest_tagged_commit=$(git rev-list -n 1 --pretty=format:"%h" $latest_tag | sed -n 2p)
57
+
58
+ if [ "$latest_tag" = ${{ steps.version.outputs.tag }} ]; then
59
+ latest_tag=$(git describe --tags --abbrev=0 $(git describe --tags --abbrev=0)^)
60
+ latest_tagged_commit=$(git rev-list -n 1 --pretty=format:"%h" $latest_tag | sed -n 2p)
61
+ fi
62
+
63
+ echo "latest commit: $latest_commit"
64
+ echo "latest tagged commit: $latest_tagged_commit"
65
+
66
+ git show $latest_tagged_commit:./pakku-lock.json > ./pakku-lock-prev.json
67
+
68
+ curl https://github.com/juraj-hrivnak/pakku/releases/latest/download/pakku.jar -o pakku.jar -L -J
69
+ java -jar ./pakku.jar diff ./pakku-lock-prev.json ./pakku-lock.json
70
+
53
71
build-modpack :
54
72
name : Build Modpack
55
73
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments