Compare commits

...

1 Commits

Author SHA1 Message Date
1daf31d458 Revert "Add list of commits as changelog between nightly builds (#4654)"
This reverts commit cab0c1e6a1.
2024-12-05 06:53:52 -05:00
3 changed files with 1 additions and 19 deletions

View File

@ -382,14 +382,3 @@ jobs:
glob: '*' glob: '*'
parent: false parent: false
destination: 'dl.kittycad.io/releases/modeling-app/nightly' destination: 'dl.kittycad.io/releases/modeling-app/nightly'
- name: Tag nightly commit
if: ${{ env.IS_NIGHTLY == 'true' }}
uses: actions/github-script@v7
with:
script: |
const { VERSION } = process.env
const { owner, repo } = context.repo
const { sha } = context
const ref = `refs/tags/nightly-${VERSION}`
github.rest.git.createRef({ owner, repo, sha, ref })

View File

@ -1,8 +1,6 @@
#!/bin/bash #!/bin/bash
export VERSION=$(date +'%-y.%-m.%-d') export VERSION=$(date +'%-y.%-m.%-d')
export TAG="nightly-v$VERSION"
export PREVIOUS_TAG=$(git describe --tags --match="nightly-v[0-9]*" --abbrev=0)
export COMMIT=$(git rev-parse --short HEAD) export COMMIT=$(git rev-parse --short HEAD)
# package.json # package.json
@ -15,7 +13,7 @@ yq -i '.publish[0].url = "https://dl.zoo.dev/releases/modeling-app/nightly"' ele
yq -i '.appId = "dev.zoo.modeling-app-nightly"' electron-builder.yml yq -i '.appId = "dev.zoo.modeling-app-nightly"' electron-builder.yml
# Release notes # Release notes
./scripts/get-nightly-changelog.sh > release-notes.md echo "Nightly build $VERSION (commit $COMMIT)" > release-notes.md
# icons # icons
cp assets/icon-nightly.png assets/icon.png cp assets/icon-nightly.png assets/icon.png

View File

@ -1,5 +0,0 @@
#!/bin/bash
echo "## What's Changed"
git log ${PREVIOUS_TAG}..HEAD --oneline --pretty=format:%s | grep -v Bump | awk '{print "* "toupper(substr($0,0,1))substr($0,2)}'
echo ""
echo "**Full Changelog**: https://github.com/KittyCAD/modeling-app/compare/${PREVIOUS_TAG}...${TAG}"