Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flat-manager: Add 'end-of-life' and 'end-of-life-rebase' inputs #71

Merged
Merged
Show file tree
Hide file tree
Changes from 11 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ jobs:
repository: elementary
flat-manager-url: https://flatpak-api.elementary.io
token: some_very_hidden_token
end-of-life: "The application has been renamed to..."
end-of-life-rebase: "org.zbrown.Palette"
```

#### Inputs
Expand All @@ -133,6 +135,8 @@ jobs:
| `repository` | The repository to push the build into | Required | - |
| `flat-manager-url` | The flat-manager remote URL | Required | - |
| `token` | A flat-manager token | Required | - |
| `end-of-life` | Reason for end of life | Optional | - |
| `end-of-life-rebase` | The new app-id | Optional | - |

### Docker Image

Expand Down
8 changes: 8 additions & 0 deletions flat-manager/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@ inputs:
description: >
A flat-manager token to publish into the repository.
required: true
end-of-life:
meisenzahl marked this conversation as resolved.
Show resolved Hide resolved
description: >
Mark build as end-of-life.
required: false
end-of-life-rebase:
description: >
Mark new refs as end-of-life. This one takes an ID that supersedes the current one. By the user's request, the application data may be preserved for the new application. Note, this is actually a prefix match, so if you say org.the.app=org.new.app, then something like org.the.app.Locale will be rebased to org.new.app.Locale.
meisenzahl marked this conversation as resolved.
Show resolved Hide resolved
required: false
runs:
using: "node12"
main: "dist/index.js"
Loading