Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
ananthakumaran committed Nov 11, 2023
1 parent 376455c commit 0f7a568
Show file tree
Hide file tree
Showing 9 changed files with 39 additions and 29 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/linux-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ jobs:
wails doctor
wails build -tags webkit2_40
cp build/bin/Paisa build/linux/usr/local/bin
cp -r build/linux paisa_0.5.6_amd64
dpkg --build paisa_0.5.6_amd64
cp -r build/linux paisa_0.5.7_amd64
dpkg --build paisa_0.5.7_amd64
cd ..
mv desktop/paisa_0.5.6_amd64.deb paisa-app-linux-amd64.deb
mv desktop/paisa_0.5.7_amd64.deb paisa-app-linux-amd64.deb
- name: Release
uses: softprops/action-gh-release@v1
with:
Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# CHANGELOG

### 0.5.7 (2023-11-11)

* Add [goals](https://paisa.fyi/reference/goals)
* Remove retirement page (available under goals)
* Bug fixes

## Breaking Changes :rotating_light:

Retirement page has been moved under goals. If you have used
retirement, you need to setup a new [retirement goal](https://paisa.fyi/reference/goals)

### 0.5.6 (2023-11-04)

* Add support for Income:CapitalGains
Expand Down
2 changes: 1 addition & 1 deletion cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ var versionCmd = &cobra.Command{
Use: "version",
Short: "Print the version information",
Run: func(cmd *cobra.Command, args []string) {
fmt.Println("Version:", "0.5.6")
fmt.Println("Version:", "0.5.7")
},
}

Expand Down
2 changes: 1 addition & 1 deletion desktop/build/linux/DEBIAN/control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: paisa
Version: 0.5.6
Version: 0.5.7
Section: misc
Priority: optional
Architecture: amd64
Expand Down
2 changes: 1 addition & 1 deletion desktop/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func main() {
Mac: &mac.Options{
About: &mac.AboutInfo{
Title: "Paisa",
Message: "Version 0.5.6 \nCopyright © 2022 - 2023 \nAnantha Kumaran",
Message: "Version 0.5.7 \nCopyright © 2022 - 2023 \nAnantha Kumaran",
Icon: icon,
},
},
Expand Down
2 changes: 1 addition & 1 deletion desktop/wails.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"Info": {
"companyName": "Paisa",
"productName": "Paisa",
"productVersion": "0.5.6",
"productVersion": "0.5.7",
"copyright": "Copyright © 2022 - 2023 Anantha Kumaran",
"comments": "Personal finance manager"
}
Expand Down
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

packages.default = pkgs.buildGoModule {
pname = "paisa-cli";
version = "0.5.6";
version = "0.5.7";

src = ./.;

Expand Down
39 changes: 19 additions & 20 deletions src/lib/components/AccountsSelect.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,19 @@
export let allAccounts: string[];
export let accounts: string[];
let allAccountItems: { value: string; label: string; created?: boolean }[];
let accountItems: { value: string; label: string; created?: boolean }[];
let filterText = "";
let allAccountItems: { value: string; label: string; created?: boolean }[] = _.map(
allAccounts,
(account) => ({
value: account,
label: account
})
);
$: allAccountItems = _.map(allAccounts, (account) => ({
value: account,
label: account
}));
let accountItems: { value: string; label: string; created?: boolean }[] = _.map(
accounts,
(account) => ({
value: account,
label: account
})
);
$: accountItems = _.map(accounts, (account) => ({
value: account,
label: account
}));
function handleFilter(e: any) {
if (accountItems?.find((i) => i.label === filterText)) return;
Expand All @@ -31,11 +28,13 @@
}
}
function handleChange(_e: any) {
accountItems = accountItems.map((i) => {
delete i.created;
return i;
});
function handleChange(e: any) {
if (e.type === "clear") {
accountItems = _.without(accountItems, e.detail);
} else {
accountItems = _.cloneDeep(e.detail);
}
accounts = accountItems.map((i) => i.value);
}
</script>
Expand All @@ -45,7 +44,7 @@
multiple
class="is-small is-expandable custom-icon"
items={allAccountItems}
bind:value={accountItems}
value={accountItems}
showChevron={true}
searchable={true}
clearable={false}
Expand Down
2 changes: 1 addition & 1 deletion src/routes/more/about/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<div><Logo size={64} /></div>
<div class="is-size-3">Paisa</div>
<div>
Version: <b>0.5.6</b>
Version: <b>0.5.7</b>
</div>
</div>

Expand Down

0 comments on commit 0f7a568

Please sign in to comment.