Skip to content

Commit

Permalink
As we work on next release, keep releasing snapshots as 4.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
michaliskambi committed May 18, 2024
1 parent a203b21 commit b5aa027
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 38 deletions.
70 changes: 35 additions & 35 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,39 +118,39 @@ jobs:
*.tar.gz
#if-no-files-found: error

# release:
# name: Release
# runs-on: ubuntu-latest
# # Only upload release if all builds, on all runners, succeeded.
# needs: [build_docker, build_runner_native]
# steps:
# - name: Download packaged releases
# uses: actions/download-artifact@v4
# with:
# merge-multiple: true
# - name: List downloaded files
# run: ls -R
# - name: GH CLI status
# env:
# GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# run: gh auth status
# # Releases files in the "snapshot" release.
# - name: Release Artifacts
# if: ${{ github.ref == 'refs/heads/master' }}
# run: gh release --repo castle-engine/castle-model-viewer upload snapshot --clobber *.zip *.tar.gz
# env:
# GH_TOKEN: ${{ github.token }}
release:
name: Release
runs-on: ubuntu-latest
# Only upload release if all builds, on all runners, succeeded.
needs: [build_docker, build_runner_native]
steps:
- name: Download packaged releases
uses: actions/download-artifact@v4
with:
merge-multiple: true
- name: List downloaded files
run: ls -R
- name: GH CLI status
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh auth status
# Releases files in the "snapshot" release.
- name: Release Artifacts
if: ${{ github.ref == 'refs/heads/master' }}
run: gh release --repo castle-engine/castle-model-viewer upload snapshot --clobber *.zip *.tar.gz
env:
GH_TOKEN: ${{ github.token }}

# update-release-tag:
# name: Update Release Tag (make snapshot tag point to the build commit on master branch)
# runs-on: ubuntu-latest
# needs: [release]
# steps:
# - uses: actions/checkout@v4
# - name: Update Release Tag
# if: ${{ github.ref == 'refs/heads/master' }}
# run: |
# # --force allows to overwrite previous tag
# git tag --force snapshot
# # --force allows to push with overwritten tag
# git push --force origin snapshot
update-release-tag:
name: Update Release Tag (make snapshot tag point to the build commit on master branch)
runs-on: ubuntu-latest
needs: [release]
steps:
- uses: actions/checkout@v4
- name: Update Release Tag
if: ${{ github.ref == 'refs/heads/master' }}
run: |
# --force allows to overwrite previous tag
git tag --force snapshot
# --force allows to push with overwritten tag
git push --force origin snapshot
2 changes: 1 addition & 1 deletion CastleEngineManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<dependency name="OggVorbis" /> <!-- read .ogg -->
<dependency name="Https" /> <!-- read https links -->
</dependencies>
<version value="4.4.0" code="10" />
<version value="4.3.0" code="10" />
<package>
<include path="README.md" />
<include path="COPYING.GPL2.txt" />
Expand Down
2 changes: 1 addition & 1 deletion code/v3dsceneversion.pas
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
unit V3DSceneVersion;
interface
const
Version = '4.4.0';
Version = '4.3.0';
ViewerUrl = 'https://castle-engine.io/castle-model-viewer';
SupportURL = 'https://www.patreon.com/castleengine';
implementation
Expand Down
2 changes: 1 addition & 1 deletion snap/snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name: castle-model-viewer
# The base snap is the execution environment for this snap.
base: core20

version: '4.4.0'
version: '4.3.0'
summary: Viewer for 3D and 2D models - glTF, X3D, VRML, Spine JSON and more # 79 char long summary
description: |
Viewer for all 3D and 2D models suported by Castle Game Engine:
Expand Down

0 comments on commit b5aa027

Please sign in to comment.