feat: fix config parsing, add learning actions, spaces list, neo4j re… #4
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Release | |
| on: | |
| push: | |
| tags: ["v*"] | |
| permissions: | |
| contents: write | |
| jobs: | |
| release: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install XcodeGen | |
| run: brew install xcodegen | |
| - name: Stamp version from tag | |
| run: | | |
| VERSION="${GITHUB_REF_NAME#v}" | |
| echo "Stamping version: $VERSION" | |
| plutil -replace CFBundleShortVersionString -string "$VERSION" MdemgMenuBar/Info.plist | |
| plutil -replace CFBundleVersion -string "$VERSION" MdemgMenuBar/Info.plist | |
| - name: Generate Xcode Project | |
| run: xcodegen generate | |
| - name: Build Release | |
| run: | | |
| xcodebuild build \ | |
| -scheme MdemgMenuBar \ | |
| -configuration Release \ | |
| -derivedDataPath build/DerivedData \ | |
| CODE_SIGN_IDENTITY="-" | |
| - name: Package App | |
| run: | | |
| APP_PATH=$(find build/DerivedData -name "MdemgMenuBar.app" -type d | head -1) | |
| if [ -z "$APP_PATH" ]; then | |
| echo "Error: MdemgMenuBar.app not found in DerivedData" | |
| exit 1 | |
| fi | |
| echo "Found app at: $APP_PATH" | |
| ditto -c -k --keepParent "$APP_PATH" MdemgMenuBar.app.zip | |
| - name: Create Release | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: | | |
| gh release create "${{ github.ref_name }}" \ | |
| --title "MDEMG Menu Bar ${{ github.ref_name }}" \ | |
| --generate-notes \ | |
| MdemgMenuBar.app.zip |