Keep using Photos.app like you always do. Attic quietly backs up your originals and edits to an S3 bucket you control. One-way, append-only.
1name: Release
2
3on:
4 push:
5 tags:
6 - "v*"
7
8permissions:
9 contents: write
10
11jobs:
12 release:
13 runs-on: macos-15
14 steps:
15 - uses: actions/checkout@v6
16
17 - name: Install tools
18 run: brew install swiftlint swiftformat
19
20 - name: SwiftLint
21 run: swiftlint lint --quiet
22
23 - name: SwiftFormat check
24 run: swiftformat --lint .
25
26 - name: Run tests
27 run: swift test
28
29 - name: Build release binary
30 run: swift build -c release
31
32 - name: Get version from tag
33 run: echo "VERSION=${GITHUB_REF_NAME#v}" >> "$GITHUB_ENV"
34
35 - name: Package archive
36 run: |
37 cp .build/release/AtticCLI attic
38 tar czf "attic-${VERSION}-aarch64-apple-darwin.tar.gz" attic
39
40 - name: Generate checksum
41 run: |
42 shasum -a 256 attic-"${VERSION}"-*.tar.gz > checksums.txt
43 cat checksums.txt
44
45 - name: Create GitHub Release
46 env:
47 GH_TOKEN: ${{ github.token }}
48 run: |
49 gh release create "$GITHUB_REF_NAME" \
50 --generate-notes \
51 "attic-${VERSION}-aarch64-apple-darwin.tar.gz" \
52 checksums.txt